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
This class parses the configuration parameters definition
-
Field Summary
Fields inherited from class org.ametys.runtime.model.AbstractModelItemParser
_modelItemTypeExtensionPoint
-
Constructor Summary
ConstructorDescriptionConfigParameterDefinitionParser
(ModelItemTypeExtensionPoint configParameterTypeExtensionPoint, ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager) Creates a configuration parameter definition parser. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Retrieves the name of the configuration attribute that contains the name of the model itemMethods inherited from class org.ametys.runtime.model.ElementDefinitionParser
_createModelItem, _parseAndSetEnumerator, _parseAndSetValidator, _parseDefaultValue, _parseDefaultValues, _parseMultiple, lookupComponents, parse
Methods inherited from class org.ametys.runtime.model.AbstractModelItemParser
_parseConditions, _parseDisableConditions, _parseI18nizableText, _parseI18nizableText, _parseName, _parseType, _parseWidget, _parseWidgetParameters, parse
-
Constructor Details
-
ConfigParameterDefinitionParser
public ConfigParameterDefinitionParser(ModelItemTypeExtensionPoint 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 Details
-
_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
-