Package org.opensaml.storage.impl.client
Class ClientStorageServiceOperation
java.lang.Object
org.opensaml.storage.impl.client.ClientStorageServiceOperation
A wrapper for a storage operation to capture the current or intended state of the data for
a client.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
Storage key.private final String
ID of storage service for tracking/logging.private final ClientStorageService.ClientStorageSource
Storage source.private final String
Storage value. -
Constructor Summary
ConstructorsConstructorDescriptionClientStorageServiceOperation
(String id, String key, String value, ClientStorageService.ClientStorageSource source) Constructor. -
Method Summary
-
Field Details
-
storageServiceId
ID of storage service for tracking/logging. -
storageKey
Storage key. -
storageValue
Storage value. -
storageSource
Storage source.
-
-
Constructor Details
-
ClientStorageServiceOperation
public ClientStorageServiceOperation(@Nonnull @NotEmpty String id, @Nonnull @NotEmpty String key, @Nullable String value, @Nonnull ClientStorageService.ClientStorageSource source) Constructor.- Parameters:
id
- storage service IDkey
- storage key to updatevalue
- storage valuesource
- storage source
-
-
Method Details
-
getStorageServiceID
Get Storage Service ID.- Returns:
- storage service ID
-
getKey
Get storage key to update.- Returns:
- storage key
-
getValue
Get new storage value.- Returns:
- storage value
-
getStorageSource
Get storage source.- Returns:
- storage source
-