Package org.opennms.plugins.cloud.config
Interface ConfigStore
-
- All Known Implementing Classes:
KvConfigStore,ScvConfigStore
public interface ConfigStoreA thin wrapper around the SecureCredentialsVault. Makes the accessing properties easier.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConfigStore.KeyAll enums must be lower case.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSTORE_PREFIXstatic java.lang.StringTOKEN_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>get(ConfigStore.Key type)java.lang.StringgetOrNull(ConfigStore.Key type)voidputProperties(java.util.Map<ConfigStore.Key,java.lang.String> properties)voidputProperty(ConfigStore.Key key, java.lang.String value)
-
-
-
Field Detail
-
STORE_PREFIX
static final java.lang.String STORE_PREFIX
- See Also:
- Constant Field Values
-
TOKEN_KEY
static final java.lang.String TOKEN_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOrNull
java.lang.String getOrNull(ConfigStore.Key type)
-
get
java.util.Optional<java.lang.String> get(ConfigStore.Key type)
-
putProperty
void putProperty(ConfigStore.Key key, java.lang.String value)
-
putProperties
void putProperties(java.util.Map<ConfigStore.Key,java.lang.String> properties)
-
-