public interface I_CmsConfigurationParameterHandler
<param name="name">value</param>
in the XML configuration.Such "param" nodes can be used to add some arbitrary names parameters to classes that otherwise share the same XML configuration.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_PARAMETER_METHOD
The name of the addConfigurationParameter() method.
|
static java.lang.String |
INIT_CONFIGURATION_METHOD
The name of the initConfiguration() method.
|
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationParameter(java.lang.String paramName,
java.lang.String paramValue)
Adds a configuration parameter to this parameter configurable class instance.
|
CmsParameterConfiguration |
getConfiguration()
Returns the parameters of this configurable class instance,
or
null if the class does not need any parameters. |
void |
initConfiguration()
Initializes a configuration after all parameters have been added.
|
static final java.lang.String ADD_PARAMETER_METHOD
static final java.lang.String INIT_CONFIGURATION_METHOD
void addConfigurationParameter(java.lang.String paramName, java.lang.String paramValue)
paramName
- the name of the parameterparamValue
- the value for the parameterCmsParameterConfiguration getConfiguration()
null
if the class does not need any parameters.null
if the class does not need any parametersvoid initConfiguration() throws CmsConfigurationException
CmsConfigurationException
- if something goes wrong