Package org.lsst.ccs.config
Class ConfigurationHandlerSet
java.lang.Object
org.lsst.ccs.config.ConfigurationHandlerSet
A set of several ConfigurationHandlers.
- Author:
- LSST CCS Team
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationHandlerSet(boolean checkConfigView, boolean failOnViewProblems) -
Method Summary
Modifier and TypeMethodDescriptionaddConfigurationHandlerForObject(String componentPath, Object component) commitBulkChange(ConfigurationDescription categoriesToCommit) This commit operation should operate under the control of a configuration lock.commitBulkChange(ConfigurationDescription categoriesToCommit, String component) voidvoiddropSubmittedChangesForCategories(Set<String> catSet) voidgetCategoryHandler(String category) getConfigurationHandlerForGroovy(String componentName) getCurrentValuesForComponent(String componentName, Set<String> categorySet) Returns a live map of the values of the configurable parameters for the given component.getDataChainProcessor(String path) getParameterSet(String componentName) getSubmittedChangesForCategories(Set<String> catSet) booleaninitialize(String descriptionName, String agentName) initialize(String descriptionName, ConfigurationView safeView, String agentName, boolean isBuild, boolean isInit) booleanisBuildParameter(String componentName, String parameterName) booleanisFinalParameter(String componentName, String parameterName) booleanisParameterConfigurable(String componentName, String parameterName) booleanisParameterReadOnly(String componentName, String parameterName) loadCategories(ConfigurationView cv, boolean isDrop) setSingleParameter(String componentName, String parameterName, Object value) setSingleParameter(String componentName, String parameterName, Object value, boolean isReadOnlyOk) submitChange(String componentName, String parameterName, Object value) submitChange(String componentName, String parameterName, Object value, boolean readOnlyOk)
-
Constructor Details
-
ConfigurationHandlerSet
public ConfigurationHandlerSet(boolean checkConfigView, boolean failOnViewProblems) -
ConfigurationHandlerSet
public ConfigurationHandlerSet()
-
-
Method Details
-
addConfigurationHandlerForObject
public ConfigurationHandler addConfigurationHandlerForObject(String componentPath, Object component) -
initialize
-
initialize
public ConfigurationInfo initialize(String descriptionName, ConfigurationView safeView, String agentName, boolean isBuild, boolean isInit) -
getConfigurationParameterHandler
-
getDataPoviderInfoList
-
getConfigurationHandlerForGroovy
-
getParameterSet
-
getCategoryHandler
-
isBuildParameter
-
isFinalParameter
-
isParameterConfigurable
-
isParameterReadOnly
-
getCategorySet
-
loadCategories
-
loadCategories
-
dropAllSubmittedChanges
public void dropAllSubmittedChanges() -
dropSubmittedChangesForComponent
-
getSubmittedChangesForComponent
-
getAllSubmittedChanges
-
submitChange
-
submitChange
-
hasSubmittedChanges
public boolean hasSubmittedChanges() -
getSubmittedChangesForCategories
-
dropSubmittedChangesForCategories
-
commitBulkChange
This commit operation should operate under the control of a configuration lock.- Parameters:
categoriesToCommit-- Returns:
-
commitBulkChange
public ConfigurationView commitBulkChange(ConfigurationDescription categoriesToCommit, String component) -
setSingleParameter
public ConfigurationView setSingleParameter(String componentName, String parameterName, Object value) -
setSingleParameter
public ConfigurationView setSingleParameter(String componentName, String parameterName, Object value, boolean isReadOnlyOk) -
getCurrentValuesForComponent
public Map<String,String> getCurrentValuesForComponent(String componentName, Set<String> categorySet) Returns a live map of the values of the configurable parameters for the given component.- Parameters:
componentName-categorySet-- Returns:
-
getLiveConfigurationView
-
getConfigurableComponents
-
getDataChainProcessorsMap
-
getDataChainProcessor
-