Package org.opennms.plugins.cloud.config
Class ScvConfigStore
- java.lang.Object
-
- org.opennms.plugins.cloud.config.ScvConfigStore
-
- All Implemented Interfaces:
ConfigStore
public class ScvConfigStore extends java.lang.Object implements ConfigStore
ConfigStore backed by SecureCredentialsVault.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.plugins.cloud.config.ConfigStore
ConfigStore.Key
-
-
Field Summary
-
Fields inherited from interface org.opennms.plugins.cloud.config.ConfigStore
STORE_PREFIX, TOKEN_KEY
-
-
Constructor Summary
Constructors Constructor Description ScvConfigStore(org.opennms.integration.api.v1.scv.SecureCredentialsVault scv)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
-
-
Method Detail
-
getOrNull
public java.lang.String getOrNull(ConfigStore.Key type)
- Specified by:
getOrNullin interfaceConfigStore
-
get
public java.util.Optional<java.lang.String> get(ConfigStore.Key type)
- Specified by:
getin interfaceConfigStore
-
putProperty
public void putProperty(ConfigStore.Key key, java.lang.String value)
- Specified by:
putPropertyin interfaceConfigStore
-
putProperties
public void putProperties(java.util.Map<ConfigStore.Key,java.lang.String> properties)
- Specified by:
putPropertiesin interfaceConfigStore
-
-