Package sonia.scm.store
Interface ConfigurationStore<T>
- Type Parameters:
T
- type of the configuration objects
- All Known Implementing Classes:
AbstractStore
,AuditLogConfigurationStoreDecorator
public interface ConfigurationStore<T>
ConfigurationStore for configuration objects. Note: the default
implementation use JAXB to marshall the configuration objects.
-
Method Summary
-
Method Details
-
get
T get()Returns the configuration object from store.- Returns:
- configuration object from store
-
getOptional
Returns the configuration object from store.- Returns:
- configuration object from store
-
set
Stores the given configuration object to the store.- Parameters:
object
- configuration object to store
-
delete
default void delete()Deletes the configuration.- Since:
- 2.24.0
-