org.apache.maven.tools.plugin.scanner
Class DefaultMojoScanner
java.lang.Object
  
org.codehaus.plexus.logging.AbstractLogEnabled
      
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner
- All Implemented Interfaces: 
 - MojoScanner, org.codehaus.plexus.logging.LogEnabled
 
public class DefaultMojoScanner
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements MojoScanner
  
- Author:
 
  - jdcasey
 
 
| Fields inherited from interface org.apache.maven.tools.plugin.scanner.MojoScanner | 
ROLE | 
 
 
 
| 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 | 
 
DefaultMojoScanner
public DefaultMojoScanner(Map extractors)
DefaultMojoScanner
public DefaultMojoScanner()
populatePluginDescriptor
public void populatePluginDescriptor(org.apache.maven.project.MavenProject project,
                                     org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
                              throws ExtractionException,
                                     org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- Specified by:
 populatePluginDescriptor in interface MojoScanner
 
- Throws:
 ExtractionException
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
 
getActiveExtractors
protected Set getActiveExtractors()
- Gets the name of the active extractors.
 
- Returns:
 - A Set containing the names of the active extractors.
 
 
 
setActiveExtractors
public void setActiveExtractors(Set extractors)
- Description copied from interface: 
MojoScanner 
- Sets the active extractors.
 
 Only the specified extractors will be used, all others will be skipped.
- Specified by:
 setActiveExtractors in interface MojoScanner
 
- Parameters:
 extractors - The names of the sctive extractors. If this parameter is null,
                   all the scanner's extractors are considered active. Set entries that are
                   null or empty ("") will be ignored.- See Also:
 org.apache.maven.tools.plugin.scanner.ExtendedMojoScanner#setActiveExtractors(java.util.Set)
 
 
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.