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
@Named
public class DefaultMojoScanner
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements MojoScanner
- Author:
- jdcasey
- 
Constructor SummaryConstructorsConstructorDescriptionEmpty constructorDefaultMojoScanner(Map<String, MojoDescriptorExtractor> extractors) Default constructor
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidsetActiveExtractors(Set<String> extractors) Sets the active extractors.Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
- 
Constructor Details- 
DefaultMojoScannerDefault constructor- Parameters:
- extractors- not null
 
- 
DefaultMojoScannerpublic DefaultMojoScanner()Empty constructor
 
- 
- 
Method Details- 
populatePluginDescriptorpublic void populatePluginDescriptor(PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException - Specified by:
- populatePluginDescriptorin interface- MojoScanner
- Parameters:
- request- not null
- Throws:
- ExtractionException- if any
- org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException- if any
 
- 
setActiveExtractorsDescription copied from interface:MojoScannerSets the active extractors. Only the specified extractors will be used, all others will be skipped. - Specified by:
- setActiveExtractorsin interface- MojoScanner
- Parameters:
- extractors- The names of the active extractors. If this parameter is- null, all the scanner's extractors are considered active. Set entries that are- nullor empty ("") will be ignored.
 
 
-