public class ConfigurationHandlerSet extends Object
| Constructor and Description |
|---|
ConfigurationHandlerSet() |
ConfigurationHandlerSet(boolean checkConfigView,
boolean failOnViewProblems) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationHandler |
addConfigurationHandlerForObject(String componentName,
String componentPath,
Object component) |
ConfigurationView |
commitBulkChange(org.lsst.ccs.config.ConfigurationDescription categoriesToCommit)
This commit operation should operate under the control of a configuration lock.
|
ConfigurationView |
commitBulkChange(org.lsst.ccs.config.ConfigurationDescription categoriesToCommit,
String component) |
void |
dropAllSubmittedChanges() |
void |
dropSubmittedChangesForComponent(String name) |
Map<String,Map<String,String>> |
getAllSubmittedChanges() |
CategoryHandler |
getCategoryHandler(String category) |
Set<String> |
getCategorySet() |
Set<String> |
getConfigurableComponents() |
ConfigurationHandler |
getConfigurationHandlerForGroovy(String componentName) |
ConfigurationParameterHandler |
getConfigurationParameterHandler(org.lsst.ccs.utilities.structs.ParameterPath pp) |
Map<String,String> |
getCurrentValuesForComponent(String componentName,
Set<String> categorySet)
Returns a live map of the values of the configurable parameters for the
given component.
|
List<org.lsst.ccs.bus.data.DataProviderInfo> |
getDataPoviderInfoList() |
ConfigurationView |
getLiveConfigurationView() |
ConfigurationHandler |
getParameterSet(String componentName) |
Map<String,String> |
getSubmittedChangesForComponent(String name) |
boolean |
hasSubmittedChanges() |
org.lsst.ccs.bus.data.ConfigurationInfo |
initialize(String descriptionName,
ConfigurationView safeView,
String agentName,
boolean isBuild,
boolean isInit) |
org.lsst.ccs.bus.data.ConfigurationInfo |
initialize(String descriptionName,
String agentName) |
boolean |
isBuildParameter(String componentName,
String parameterName) |
boolean |
isFinalParameter(String componentName,
String parameterName) |
boolean |
isParameterConfigurable(String componentName,
String parameterName) |
boolean |
isParameterReadOnly(String componentName,
String parameterName) |
ConfigurationView |
loadCategories(ConfigurationView cv) |
ConfigurationView |
setSingleParameter(String componentName,
String parameterName,
Object value) |
ConfigurationView |
setSingleParameter(String componentName,
String parameterName,
Object value,
boolean isReadOnlyOk) |
Object |
submitChange(String componentName,
String parameterName,
Object value) |
Object |
submitChange(String componentName,
String parameterName,
Object value,
boolean readOnlyOk) |
public ConfigurationHandlerSet(boolean checkConfigView,
boolean failOnViewProblems)
public ConfigurationHandlerSet()
public ConfigurationHandler addConfigurationHandlerForObject(String componentName, String componentPath, Object component)
public org.lsst.ccs.bus.data.ConfigurationInfo initialize(String descriptionName, String agentName)
public org.lsst.ccs.bus.data.ConfigurationInfo initialize(String descriptionName, ConfigurationView safeView, String agentName, boolean isBuild, boolean isInit)
public ConfigurationParameterHandler getConfigurationParameterHandler(org.lsst.ccs.utilities.structs.ParameterPath pp)
public List<org.lsst.ccs.bus.data.DataProviderInfo> getDataPoviderInfoList()
public ConfigurationHandler getConfigurationHandlerForGroovy(String componentName)
public ConfigurationHandler getParameterSet(String componentName)
public CategoryHandler getCategoryHandler(String category)
public boolean isParameterConfigurable(String componentName, String parameterName)
public ConfigurationView loadCategories(ConfigurationView cv)
public void dropAllSubmittedChanges()
public void dropSubmittedChangesForComponent(String name)
public Map<String,String> getSubmittedChangesForComponent(String name)
public Object submitChange(String componentName, String parameterName, Object value, boolean readOnlyOk)
public boolean hasSubmittedChanges()
public ConfigurationView commitBulkChange(org.lsst.ccs.config.ConfigurationDescription categoriesToCommit)
categoriesToCommit - public ConfigurationView commitBulkChange(org.lsst.ccs.config.ConfigurationDescription categoriesToCommit, String component)
public ConfigurationView setSingleParameter(String componentName, String parameterName, Object value)
public ConfigurationView setSingleParameter(String componentName, String parameterName, Object value, boolean isReadOnlyOk)
public Map<String,String> getCurrentValuesForComponent(String componentName, Set<String> categorySet)
componentName - categorySet - public ConfigurationView getLiveConfigurationView()
Copyright © 2022 LSST. All rights reserved.