Class BulkConfig
- java.lang.Object
-
- io.jans.scim.model.scim2.provider.config.BulkConfig
-
public class BulkConfig extends Object
A class that holds values representing the configuration options for SCIM BULK operation (see section 5 of RFC 7643).
-
-
Constructor Summary
Constructors Constructor Description BulkConfig()
Creates an instance of BulkConfig with all its fields unassigned.BulkConfig(boolean supported, int maxOperations, long maxPayloadSize)
Creates a BulkConfig instance based on parameters supplied.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxOperations()
Retrieves the maximum number of operations supported in a bulk.long
getMaxPayloadSize()
Retrieves the maximum payload size allowed in a bulk.boolean
isSupported()
Indicates whether the PATCH operation is supported.void
setMaxOperations(int maxOperations)
void
setMaxPayloadSize(long maxPayloadSize)
void
setSupported(boolean supported)
-
-
-
Constructor Detail
-
BulkConfig
public BulkConfig()
Creates an instance of BulkConfig with all its fields unassigned.
-
BulkConfig
public BulkConfig(boolean supported, int maxOperations, long maxPayloadSize)
Creates a BulkConfig instance based on parameters supplied.- Parameters:
supported
- Specifies whether the bulk operation is supported.maxOperations
- Specifies the maximum number of operations supported per bulk.maxPayloadSize
- Specifies the maximum payload size in bytes supported per bulk.
-
-
Method Detail
-
isSupported
public boolean isSupported()
Indicates whether the PATCH operation is supported.- Returns:
- A boolean value
-
getMaxOperations
public int getMaxOperations()
Retrieves the maximum number of operations supported in a bulk.- Returns:
- The maximum number of operations.
-
getMaxPayloadSize
public long getMaxPayloadSize()
Retrieves the maximum payload size allowed in a bulk.- Returns:
- The maximum payload size in bytes.
-
setSupported
public void setSupported(boolean supported)
-
setMaxOperations
public void setMaxOperations(int maxOperations)
-
setMaxPayloadSize
public void setMaxPayloadSize(long maxPayloadSize)
-
-