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
ConstructorsConstructorDescriptionConfigParameterDefinitionParser(ModelItemTypeExtensionPoint configParameterTypeExtensionPoint, ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager) Creates a configuration parameter definition parser. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringRetrieves 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, parseMethods 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:AbstractModelItemParserRetrieves the name of the configuration attribute that contains the name of the model item- Overrides:
_getNameConfigurationAttributein classAbstractModelItemParser- Returns:
- the name of the configuration attribute that contains the name of the model item
-