org.apache.maven.tools.plugin.extractor.ant
Class AntMojoDescriptorExtractor

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
          extended by org.apache.maven.tools.plugin.extractor.ant.AntMojoDescriptorExtractor
All Implemented Interfaces:
MojoDescriptorExtractor, org.codehaus.plexus.logging.LogEnabled

public class AntMojoDescriptorExtractor
extends AbstractScriptedMojoDescriptorExtractor

Extracts Mojo descriptors from Ant sources.

Version:
$Id: AntMojoDescriptorExtractor.java 746360 2009-02-20 20:25:53Z jdcasey $

Field Summary
 
Fields inherited from interface org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor
ROLE
 
Constructor Summary
AntMojoDescriptorExtractor()
           
 
Method Summary
protected  java.util.List extractMojoDescriptorsFromMetadata(java.util.Map metadataFilesKeyedByBasedir, PluginToolsRequest request)
          
protected  java.lang.String getMetadataFileExtension(PluginToolsRequest request)
          
protected  java.lang.String getScriptFileExtension(PluginToolsRequest request)
          
 
Methods inherited from class org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
copyScriptsToOutputDirectory, execute, execute, extractMojoDescriptors, gatherFilesByBasedir
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntMojoDescriptorExtractor

public AntMojoDescriptorExtractor()
Method Detail

extractMojoDescriptorsFromMetadata

protected java.util.List extractMojoDescriptorsFromMetadata(java.util.Map metadataFilesKeyedByBasedir,
                                                            PluginToolsRequest request)
                                                     throws ExtractionException,
                                                            org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException

Overrides:
extractMojoDescriptorsFromMetadata in class AbstractScriptedMojoDescriptorExtractor
Throws:
ExtractionException
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException

getScriptFileExtension

protected java.lang.String getScriptFileExtension(PluginToolsRequest request)

Specified by:
getScriptFileExtension in class AbstractScriptedMojoDescriptorExtractor

getMetadataFileExtension

protected java.lang.String getMetadataFileExtension(PluginToolsRequest request)

Overrides:
getMetadataFileExtension in class AbstractScriptedMojoDescriptorExtractor


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.