Class EnhancedConfigurationConverter
java.lang.Object
org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter
org.apache.maven.configuration.internal.EnhancedConfigurationConverter
- All Implemented Interfaces:
org.codehaus.plexus.component.configurator.converters.ConfigurationConverter
class EnhancedConfigurationConverter
extends org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter
An enhanced
ObjectWithFieldsConverter leveraging the TypeAwareExpressionEvaluator
interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup lookup, org.codehaus.plexus.configuration.PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator evaluator, org.codehaus.plexus.component.configurator.ConfigurationListener listener) protected ObjectfromExpression(org.codehaus.plexus.configuration.PlexusConfiguration configuration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator evaluator, Class<?> type) Methods inherited from class org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter
canConvert, processConfiguration, processConfigurationMethods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
failIfNotTypeCompatible, fromConfiguration, fromExpression, fromXML, getClassForImplementationHint, instantiateObject
-
Constructor Details
-
EnhancedConfigurationConverter
EnhancedConfigurationConverter()
-
-
Method Details
-
fromExpression
protected Object fromExpression(org.codehaus.plexus.configuration.PlexusConfiguration configuration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator evaluator, Class<?> type) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException - Overrides:
fromExpressionin classorg.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter- Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException
-
fromConfiguration
public Object fromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup lookup, org.codehaus.plexus.configuration.PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator evaluator, org.codehaus.plexus.component.configurator.ConfigurationListener listener) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException - Specified by:
fromConfigurationin interfaceorg.codehaus.plexus.component.configurator.converters.ConfigurationConverter- Overrides:
fromConfigurationin classorg.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter- Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException
-