Package org.ametys.runtime.config
Class ConfigParameterDefinitionParser
- java.lang.Object
-
- org.ametys.runtime.model.AbstractModelItemParser
-
- org.ametys.runtime.model.ElementDefinitionParser
-
- org.ametys.runtime.config.ConfigParameterDefinitionParser
-
public class ConfigParameterDefinitionParser extends ElementDefinitionParser
This class parses the configuration parameters definition
-
-
Field Summary
-
Fields inherited from class org.ametys.runtime.model.AbstractModelItemParser
_modelItemTypeExtensionPoint
-
-
Constructor Summary
Constructors Constructor Description ConfigParameterDefinitionParser(ConfigParameterTypeExtensionPoint configParameterTypeExtensionPoint, ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager)
Creates a configuration parameter definition parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
_getNameConfigurationAttribute()
Retrieves the name of the configuration attribute that contains the name of the model item-
Methods inherited from class org.ametys.runtime.model.ElementDefinitionParser
_createModelItem, _parseAndSetEnumerator, _parseAndSetValidator, _parseDefaultValue, _parseDisableConditions, _parseMultiple, _parseWidget, _parseWidgetParameters, lookupComponents, parse
-
Methods inherited from class org.ametys.runtime.model.AbstractModelItemParser
_parseI18nizableText, _parseI18nizableText, _parseName, _parseType, parse
-
-
-
-
Constructor Detail
-
ConfigParameterDefinitionParser
public ConfigParameterDefinitionParser(ConfigParameterTypeExtensionPoint configParameterTypeExtensionPoint, ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager)
Creates a configuration parameter definition parser.- Parameters:
configParameterTypeExtensionPoint
- the extension point to use to get available element typesenumeratorManager
- the enumerator component manager.validatorManager
- the validator component manager.
-
-
Method Detail
-
_getNameConfigurationAttribute
protected String _getNameConfigurationAttribute()
Description copied from class:AbstractModelItemParser
Retrieves the name of the configuration attribute that contains the name of the model item- Overrides:
_getNameConfigurationAttribute
in classAbstractModelItemParser
- Returns:
- the name of the configuration attribute that contains the name of the model item
-
-