Class BulkConfig
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
com.fasterxml.jackson.databind.node.ObjectNode
de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
de.captaingoldfish.scim.sdk.common.resources.complex.BulkConfig
- All Implemented Interfaces:
com.fasterxml.jackson.core.TreeNode,com.fasterxml.jackson.databind.JsonSerializable,com.fasterxml.jackson.databind.node.JsonNodeCreator,ScimNode,Serializable,Iterable<com.fasterxml.jackson.databind.JsonNode>
author Pascal Knueppel
created at: 18.10.2019 - 10:06
represents the bulk configuration for a
A complex type that specifies bulk configuration options. See Section 3.7 of [RFC7644]. REQUIRED.
created at: 18.10.2019 - 10:06
represents the bulk configuration for a
ServiceProvider objectA complex type that specifies bulk configuration options. See Section 3.7 of [RFC7644]. REQUIRED.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classoverride lombok builder with public constructorNested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.JsonNode.OverwriteModeNested classes/interfaces inherited from interface com.fasterxml.jackson.databind.JsonSerializable
com.fasterxml.jackson.databind.JsonSerializable.Base -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Integerthe default maximum number of operations is 1.protected static final Longthe default maximum payload is set to 2MBFields inherited from class com.fasterxml.jackson.databind.node.ObjectNode
_childrenFields inherited from class com.fasterxml.jackson.databind.node.ContainerNode
_nodeFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BulkConfig.BulkConfigBuilderbuilder()An integer value specifying the maximum number of operations.An integer value specifying the maximum payload size in bytes.booleanAllows the service provider to return resources at all endpoints by default on bulk-requests even if the client did not explicitly asked for them.booleanEnable return resources at bulk endpoint.booleanAllows the service provider to return resources at all endpoints by default on bulk-requests even if the client did not explicitly asked for them.booleanA Boolean value specifying whether the operation is supported.voidsetMaxOperations(Integer maxOperations) An integer value specifying the maximum number of operations.voidsetMaxPayloadSize(Long maxPayloadSize) An integer value specifying the maximum payload size in bytes.voidsetReturnResourcesByDefault(Boolean returnResourcesByDefault) Allows the service provider to return resources at all endpoints by default on bulk-requests even if the client did not explicitly asked for them.voidsetReturnResourcesEnabled(Boolean returnResourcesEnabled) Enable return resources at bulk endpoint.voidsetSupportBulkGet(Boolean supportBulkGet) Allows the service provider to return resources at all endpoints by default on bulk-requests even if the client did not explicitly asked for them.voidsetSupported(Boolean supported) A Boolean value specifying whether or not the operation is supported.Methods inherited from class de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
addAttribute, equals, getArrayAttribute, getBinaryAttribute, getBooleanAttribute, getDateTimeAttribute, getDoubleAttribute, getIntegerAttribute, getLongAttribute, getObjectAttribute, getSchemaAttribute, getSimpleArrayAttribute, getSimpleArrayAttribute, getSimpleArrayAttributeSet, getSimpleArrayAttributeSet, getStringAttribute, getStringAttribute, isEmpty, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeList, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setStringAttributeList, setStringAttributeList, toPrettyString, toStringMethods inherited from class com.fasterxml.jackson.databind.node.ObjectNode
_at, _childrenEqual, _contentsToSerialize, _put, _withArray, _withArrayAddTailProperty, _withObject, _withObjectAddTailProperty, asToken, deepCopy, elements, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, forEachEntry, get, get, getNodeType, hashCode, isEmpty, isObject, optional, path, path, properties, propertyStream, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, putArray, putIfAbsent, putNull, putObject, putPOJO, putRawValue, remove, remove, removeAll, removeIf, replace, required, retain, retain, serialize, serializeFilteredContents, serializeWithType, set, setAll, setAll, size, values, valueStream, with, withArray, withArrayProperty, withObject, withObjectProperty, without, withoutMethods inherited from class com.fasterxml.jackson.databind.node.ContainerNode
arrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, removeNulls, textNodeMethods inherited from class com.fasterxml.jackson.databind.node.BaseJsonNode
_bigIntFromBigDec, _jsonPointerIfValid, _reportWrongNodeOperation, _reportWrongNodeType, _withXxxMayReplace, _withXxxVerifyReplace, findPath, numberType, required, traverse, traverse, withArray, withObjectMethods inherited from class com.fasterxml.jackson.databind.JsonNode
_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asOptional, asText, at, at, bigIntegerValue, binaryValue, booleanValue, canConvertToExactIntegral, canConvertToInt, canConvertToLong, decimalValue, doubleValue, findParents, findValues, findValuesAsText, floatValue, has, has, hasNonNull, hasNonNull, intValue, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, optional, require, requiredAt, requiredAt, requireNonNull, shortValue, textValue, withArray, withArray, withObject, withObjectMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface de.captaingoldfish.scim.sdk.common.resources.base.ScimNode
getAttributeDescription, getAttributeName, getCanonicalValues, getMutability, getReferenceTypes, getReturned, getScimNodeName, getUniqueness, getValueType, isCaseExact, isMultiValued, isRequired
-
Field Details
-
DEFAULT_MAX_OPERATIONS
the default maximum number of operations is 1. This will enforce the developer to modify the service provider configuration to the applications requirements -
DEFAULT_MAX_PAYLOAD_SIZE
the default maximum payload is set to 2MB
-
-
Constructor Details
-
BulkConfig
public BulkConfig() -
BulkConfig
-
-
Method Details
-
isSupported
public boolean isSupported()A Boolean value specifying whether the operation is supported. REQUIRED. -
setSupported
A Boolean value specifying whether or not the operation is supported. REQUIRED. -
getMaxOperations
An integer value specifying the maximum number of operations. REQUIRED. -
setMaxOperations
An integer value specifying the maximum number of operations. REQUIRED. -
getMaxPayloadSize
An integer value specifying the maximum payload size in bytes. REQUIRED. -
setMaxPayloadSize
An integer value specifying the maximum payload size in bytes. REQUIRED. -
isReturnResourcesEnabled
public boolean isReturnResourcesEnabled()Enable return resources at bulk endpoint. If a resource gets created or modified the bulk-endpoint will return the resource if the client explicitly asked for it in the response. -
setReturnResourcesEnabled
Enable return resources at bulk endpoint. If a resource gets created or modified the bulk-endpoint will return the resource if the client explicitly asked for it in the response. -
isReturnResourcesByDefault
public boolean isReturnResourcesByDefault()Allows the service provider to return resources at all endpoints by default on bulk-requests even if the client did not explicitly asked for them. -
setReturnResourcesByDefault
Allows the service provider to return resources at all endpoints by default on bulk-requests even if the client did not explicitly asked for them. -
isSupportBulkGet
public boolean isSupportBulkGet()Allows the service provider to return resources at all endpoints by default on bulk-requests even if the client did not explicitly asked for them. -
setSupportBulkGet
Allows the service provider to return resources at all endpoints by default on bulk-requests even if the client did not explicitly asked for them. -
builder
-