Package org.opensaml.storage.impl.client
Class ClientStorageServiceOperation
- java.lang.Object
-
- org.opensaml.storage.impl.client.ClientStorageServiceOperation
-
public class ClientStorageServiceOperation extends Object
A wrapper for a storage operation to capture the current or intended state of the data for a client.
-
-
Field Summary
Fields Modifier and Type Field Description private StringstorageKeyStorage key.private StringstorageServiceIdID of storage service for tracking/logging.private ClientStorageService.ClientStorageSourcestorageSourceStorage source.private StringstorageValueStorage value.
-
Constructor Summary
Constructors Constructor Description ClientStorageServiceOperation(String id, String key, String value, ClientStorageService.ClientStorageSource source)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()Get storage key to update.StringgetStorageServiceID()Get Storage Service ID.ClientStorageService.ClientStorageSourcegetStorageSource()Get storage source.StringgetValue()Get new storage value.
-
-
-
Field Detail
-
storageServiceId
@Nonnull @NotEmpty private final String storageServiceId
ID of storage service for tracking/logging.
-
storageSource
@Nonnull private final ClientStorageService.ClientStorageSource storageSource
Storage source.
-
-
Constructor Detail
-
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 Detail
-
getStorageServiceID
@Nonnull @NotEmpty public String getStorageServiceID()
Get Storage Service ID.- Returns:
- storage service ID
-
getStorageSource
@Nonnull public ClientStorageService.ClientStorageSource getStorageSource()
Get storage source.- Returns:
- storage source
-
-