org.apache.maven.tools.plugin.extractor.beanshell
Class BeanshellMojoDescriptorExtractor
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
org.apache.maven.tools.plugin.extractor.beanshell.BeanshellMojoDescriptorExtractor
- All Implemented Interfaces:
- MojoDescriptorExtractor, org.codehaus.plexus.logging.LogEnabled
public class BeanshellMojoDescriptorExtractor
- extends AbstractScriptedMojoDescriptorExtractor
Extracts Mojo descriptors from BeanShell sources.
- Version:
- $Id: BeanshellMojoDescriptorExtractor.java 746400 2009-02-20 22:42:13Z bentmann $
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 |
BeanshellMojoDescriptorExtractor
public BeanshellMojoDescriptorExtractor()
getScriptFileExtension
protected String getScriptFileExtension(PluginToolsRequest request)
-
- Specified by:
getScriptFileExtension
in class AbstractScriptedMojoDescriptorExtractor
- Returns:
- the file extension like
.bsh
for BeanShell.
extractMojoDescriptors
protected List extractMojoDescriptors(Map scriptFilesKeyedByBasedir,
PluginToolsRequest request)
throws ExtractionException,
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- Should be implemented in the sub classes.
- Overrides:
extractMojoDescriptors
in class AbstractScriptedMojoDescriptorExtractor
- Parameters:
scriptFilesKeyedByBasedir
- could be nullrequest
- The plugin request, never null
.
- Returns:
- always null
- Throws:
ExtractionException
- if any
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if any
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.