public interface ConfigurationParameterSettings extends MetaDataObject
ConfigurationParameter
s in a Resource. When the Resource has declared
ConfigurationGroup
s, there may be different values for each group.Modifier and Type | Method and Description |
---|---|
NameValuePair[] |
getParameterSettings()
Gets the settings for configuration parameters that are not in any group.
|
Object |
getParameterValue(String aParamName)
Looks up the value of a parameter.
|
Object |
getParameterValue(String aGroupName,
String aParamName)
Looks up the value of a parameter in a group.
|
Map<String,NameValuePair[]> |
getSettingsForGroups()
Gets the settings for configuration parameters that are defined within groups.
|
void |
setParameterSettings(NameValuePair[] aSettings)
Sets the settings for configuration parameters that are not in any group.
|
void |
setParameterValue(String aParamName,
Object aValue)
Sets the value of a parameter.
|
void |
setParameterValue(String aGroupName,
String aParamName,
Object aValue)
Sets the value of a parameter in a group.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
NameValuePair[] getParameterSettings()
NameValuePair
objects, each of which contains a parameter
name and the value of that parametervoid setParameterSettings(NameValuePair[] aSettings)
aSettings
- an array of NameValuePair
objects, each of which contains a parameter
name and the value of that parameterMap<String,NameValuePair[]> getSettingsForGroups()
String
keys (the group names) and NameValuePair
[]
values (the settings for parameters in that group.Object getParameterValue(String aParamName)
aParamName
- the name of a parameter that is not in any groupaParamName
Object getParameterValue(String aGroupName, String aParamName)
aGroupName
- the name of a configuration group. If this parameter is
null
, this method will return the same value as
getParameterValue(String)
.aParamName
- the name of a parameter in the groupaGroupName
with
name aParamName
void setParameterValue(String aParamName, Object aValue)
aParamName
- the name of a parameter that is not in any groupaValue
- the value to assign to the parameterCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.