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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    protected Object
    fromExpression(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, processConfiguration

    Methods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter

    failIfNotTypeCompatible, fromConfiguration, fromExpression, fromXML, getClassForImplementationHint, instantiateObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      fromExpression in class org.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:
      fromConfiguration in interface org.codehaus.plexus.component.configurator.converters.ConfigurationConverter
      Overrides:
      fromConfiguration in class org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter
      Throws:
      org.codehaus.plexus.component.configurator.ComponentConfigurationException