public class ConfigurationHandlerSet extends Object
| Constructor and Description |
|---|
ConfigurationHandlerSet() |
ConfigurationHandlerSet(boolean usefullPaths,
boolean checkConfigView,
boolean failOnViewProblems) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationHandler |
addConfigurationHandlerForObject(String componentName,
String componentPath,
Object component) |
ConfigurationHandler |
addConfigurationHandlerForObject(String componentName,
String componentPath,
Object component,
boolean isNewImplementation) |
ConfigurationView |
commitBulkChange(ConfigurationDescription categoriesToCommit)
This commit operation should operate under the control of a configuration lock.
|
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) |
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) |
org.lsst.ccs.bus.data.ConfigurationInfo |
initialize(String descriptionName,
ConfigurationView safeView) |
org.lsst.ccs.bus.data.ConfigurationInfo |
initialize(String descriptionName,
ConfigurationView safeView,
boolean isBuild,
boolean isSafe) |
boolean |
isBuildParameter(String componentName,
String parameterName) |
boolean |
isFinalParameter(String componentName,
String parameterName) |
boolean |
isOptionalParameter(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 usefullPaths,
boolean checkConfigView,
boolean failOnViewProblems)
public ConfigurationHandlerSet()
public ConfigurationHandler addConfigurationHandlerForObject(String componentName, String componentPath, Object component)
public ConfigurationHandler addConfigurationHandlerForObject(String componentName, String componentPath, Object component, boolean isNewImplementation)
public org.lsst.ccs.bus.data.ConfigurationInfo initialize(String descriptionName)
public org.lsst.ccs.bus.data.ConfigurationInfo initialize(String descriptionName, ConfigurationView safeView)
public org.lsst.ccs.bus.data.ConfigurationInfo initialize(String descriptionName, ConfigurationView safeView, boolean isBuild, boolean isSafe)
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(ConfigurationDescription categoriesToCommit)
categoriesToCommit - 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 © 2020 LSST. All rights reserved.