public interface ConfigTargetStore
ConfigStore
operations which are applicable to
setting and retrieving the UUID
of the current target configuration.
This interface is broken out from ConfigStore
to allow users to ignore the the generic
typing of the config objects themselves when they don't need to access those objects.Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getTargetConfig()
Returns the current ID of the active target configuration, or throws an exception if none is
set.
|
void |
setTargetConfig(java.util.UUID id)
Stores the ID of the active target configuration, replacing any current value.
|
void setTargetConfig(java.util.UUID id) throws ConfigStoreException
ConfigStoreException
- if writing the ID failsgetTargetConfig()
java.util.UUID getTargetConfig() throws ConfigStoreException
ConfigStoreException
- if reading or deserializing the ID fails, or no value is setsetTargetConfig(UUID)