org.apache.maven.plugin.antrun.components
Class AntTargetConverter

java.lang.Object
  extended by org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
      extended by org.apache.maven.plugin.antrun.components.AntTargetConverter
All Implemented Interfaces:
org.codehaus.plexus.component.configurator.converters.ConfigurationConverter

public class AntTargetConverter
extends org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter

Plexus ConfigurationConverter to set up Ant Target component fields.

Version:
$Id$
Author:
Kenney Westerhof, Vincent Siveton

Field Summary
static String MAVEN_EXPRESSION_EVALUATOR_ID
           
static String ROLE
           
 
Constructor Summary
AntTargetConverter()
           
 
Method Summary
 boolean canConvert(Class type)
           
 Object fromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup converterLookup, org.codehaus.plexus.configuration.PlexusConfiguration configuration, Class type, Class baseType, ClassLoader classLoader, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.component.configurator.ConfigurationListener listener)
           
protected  void initDefinitions(org.apache.tools.ant.Project project, org.apache.tools.ant.Target unused)
           
 
Methods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
fromConfiguration, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObject, instantiateObject, loadClass, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAVEN_EXPRESSION_EVALUATOR_ID

public static final String MAVEN_EXPRESSION_EVALUATOR_ID
See Also:
Constant Field Values

ROLE

public static final String ROLE
Constructor Detail

AntTargetConverter

public AntTargetConverter()
Method Detail

canConvert

public boolean canConvert(Class type)
See Also:
ConfigurationConverter.canConvert(java.lang.Class)

fromConfiguration

public Object fromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup converterLookup,
                                org.codehaus.plexus.configuration.PlexusConfiguration configuration,
                                Class type,
                                Class baseType,
                                ClassLoader classLoader,
                                org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator,
                                org.codehaus.plexus.component.configurator.ConfigurationListener listener)
                         throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException
See Also:
ConfigurationConverter.fromConfiguration(org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup, org.codehaus.plexus.configuration.PlexusConfiguration, java.lang.Class, java.lang.Class, java.lang.ClassLoader, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator, org.codehaus.plexus.component.configurator.ConfigurationListener)

initDefinitions

protected void initDefinitions(org.apache.tools.ant.Project project,
                               org.apache.tools.ant.Target unused)


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.