Package org.lsst.ccs.config
Class ConfigurationView
java.lang.Object
org.lsst.ccs.config.ConfigurationView
- All Implemented Interfaces:
Serializable
A view of the configuration parameters values, ordered by the component they
belong to.
It is used as the result of a request for loading a configuration.
- Author:
- LSST CCS Team
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationView(ConfigurationDescription configDesc) ConfigurationView(SingleCategoryTagData tagData) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsPath(ParameterPath path) diff(ConfigurationView other) Performs a diff view between this view and the one passed as argument.getPathValue(ParameterPath path) getValuesForComponent(String componentName) booleanisEmpty()voidfinal voidputParameterValue(String parameterFullName, String value) voidputParameterValue(String componentName, String parmName, String value) voidputValuesForComponent(String componentName, Map<String, String> values) voidvoidsetConfigurationDescription(ConfigurationDescription configDesc)
-
Constructor Details
-
ConfigurationView
public ConfigurationView() -
ConfigurationView
-
ConfigurationView
-
ConfigurationView
-
-
Method Details
-
putParameterValue
- Parameters:
parameterFullName- the full parameter name, such as compName/parmNamevalue- a String representation of the parameter value.
-
putParameterValue
-
putAll
-
getAsParameterPathMap
-
getAsProperties
-
diff
Performs a diff view between this view and the one passed as argument. Parameters that are not present in the other view or that are assigned a different value are added to the resulting map.- Parameters:
other-- Returns:
-
containsPath
-
getPathValue
-
getConfigurationDescription
-
setConfigurationDescription
-
isEmpty
public boolean isEmpty() -
getValuesForComponent
-
putValuesForComponent
-
removeValueForPath
-