public class ConfigurationInfo extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
descriptionName |
protected Map<String,Boolean> |
hasCategoryChanged |
protected Map<String,String> |
tags |
| Modifier | Constructor and Description |
|---|---|
protected |
ConfigurationInfo(ConfigurationState configState,
String tagName) |
|
ConfigurationInfo(ConfigurationState configState,
String tagName,
Map<String,String> tags,
Map<String,Boolean> hasCategoryChanged,
List<ConfigurationParameterInfo> parametersView) |
| Modifier and Type | Method and Description |
|---|---|
List<ConfigurationParameterInfo> |
getAllParameterInfo()
Returns a list of
ConfigurationParameterInfo. |
Set<String> |
getCategorySet() |
String |
getConfigNameForCategory(String category) |
String |
getConfigurationName() |
ConfigurationState |
getConfigurationState() |
String |
getCurrentValueForParameter(String pathName)
Return the current value of a given configurable parameter
|
Map<String,String> |
getCurrentValuesForCategory(String category)
Returns the current value of each parameter that belong to the specified
category.
|
Map<String,String> |
getCurrentValuesForComponent(String componentName)
Returns the current value of each parameter that belong to the specified
configurable component.
|
String |
getDescriptionName()
Returns the subsystem description name, ie the name of the description
file the subsystem is started with.
|
boolean |
hasCategory(String category)
Tests if is one of the subsystem parameter categories.
|
boolean |
hasChanges() |
boolean |
hasChangesForCategory(String category)
Returns true if there are unsaved changes for the specified category.
|
String |
toString() |
protected final String descriptionName
protected ConfigurationInfo(ConfigurationState configState, String tagName)
public ConfigurationInfo(ConfigurationState configState, String tagName, Map<String,String> tags, Map<String,Boolean> hasCategoryChanged, List<ConfigurationParameterInfo> parametersView)
public String getDescriptionName()
public String getConfigurationName()
public boolean hasChangesForCategory(String category)
category - public boolean hasChanges()
public String getConfigNameForCategory(String category)
category - public boolean hasCategory(String category)
category - category is one of the parameter categories of
the subsystem.public Set<String> getCategorySet()
public ConfigurationState getConfigurationState()
public String toString()
public List<ConfigurationParameterInfo> getAllParameterInfo()
ConfigurationParameterInfo. Each element of this
list represents the current view of a configurable parameter.ConfigurationParameterInfopublic Map<String,String> getCurrentValuesForCategory(String category)
category - public Map<String,String> getCurrentValuesForComponent(String componentName)
componentName - the name of the Copyright © 2015 LSST. All rights reserved.