Class PatchBuilder.PatchOperationBuilder<T extends ResourceNode>

    • Constructor Detail

      • PatchOperationBuilder

        public PatchOperationBuilder​(PatchBuilder<T> patchBuilder)
    • Method Detail

      • path

        public PatchBuilder.PatchOperationBuilder<T> path​(String path)
        sets the optional path attribute.

        Note that the valueNode is considered the resource itself if not path attribute is set
        Parameters:
        path - the scim node name e.g. "name.givenName" or "emails[primary eq true]" or just "userName"
      • op

        public PatchBuilder.PatchOperationBuilder<T> op​(PatchOp op)
        sets the operation that should be executed on the resource

        Note that the "path"-attribute is required for a remove operation
        Parameters:
        op - the operation that should be executed
      • valueNode

        public PatchBuilder.PatchOperationBuilder<T> valueNode​(com.fasterxml.jackson.databind.JsonNode valueNode)
        sets a node that might be a simple text-node a json object or a json array that will then be added, replaced or removed from the target
        Parameters:
        valueNode - a simple text-node, a json object or a json array