public interface SettingsAgent
Modifier and Type | Interface and Description |
---|---|
static class |
SettingsAgent.NoSuchSettingException
Exception stating that there is no setting with a requested name.
|
Modifier and Type | Field and Description |
---|---|
static SpecialistType<SettingsAgent> |
TYPE
Agent providing means to durably store job related settings.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
load(String name)
Load some setting stored with the given name.
|
void |
remove(String name)
Remove a setting having the given name.
|
void |
store(String name,
Serializable value)
Store some setting value by the given name.
|
static final SpecialistType<SettingsAgent> TYPE
Serializable load(@NotNull String name) throws SettingsAgent.NoSuchSettingException
name
- The setting's name.SettingsAgent.NoSuchSettingException
void store(@NotNull String name, @Nullable Serializable value)
name
- The setting's name.value
- The setting's value.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210