public class DefaultMojoScanner extends org.codehaus.plexus.logging.AbstractLogEnabled implements MojoScanner
ROLE| Constructor and Description |
|---|
DefaultMojoScanner()
Empty constructor
|
DefaultMojoScanner(Map<String,MojoDescriptorExtractor> extractors)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<String> |
getActiveExtractors()
Gets the name of the active extractors.
|
void |
populatePluginDescriptor(PluginToolsRequest request) |
void |
setActiveExtractors(Set<String> extractors)
Sets the active extractors.
|
public DefaultMojoScanner(Map<String,MojoDescriptorExtractor> extractors)
extractors - not nullpublic DefaultMojoScanner()
public void populatePluginDescriptor(PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
populatePluginDescriptor in interface MojoScannerrequest - not nullExtractionException - if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException - if anyprotected Set<String> getActiveExtractors()
public void setActiveExtractors(Set<String> extractors)
MojoScannersetActiveExtractors in interface MojoScannerextractors - The names of the active extractors. If this parameter is null,
all the scanner's extractors are considered active. Set entries that are null or
empty ("") will be ignored.Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.