Class CmProperties
- java.lang.Object
-
- org.opennms.features.config.service.util.CmProperties
-
public class CmProperties extends Object
Wrapper around CM to read and write properties. Derived from org.opennms.core.utils.PropertiesCache. It operates on cm instead of a file.
-
-
Constructor Summary
Constructors Constructor Description CmProperties(ConfigurationManagerService cm, ConfigUpdateInfo configIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
get()
Object
getProperty(String key)
void
setProperty(String key, Object value)
-
-
-
Constructor Detail
-
CmProperties
public CmProperties(ConfigurationManagerService cm, ConfigUpdateInfo configIdentifier)
-
-
Method Detail
-
setProperty
public void setProperty(String key, Object value) throws ValidationException
- Throws:
ValidationException
-
-