public interface MojoDescriptorExtractor
Modifier and Type | Method and Description |
---|---|
List<org.apache.maven.plugin.descriptor.MojoDescriptor> |
execute(PluginToolsRequest request)
Execute the mojo extraction.
|
GroupKey |
getGroupKey()
Returns the
GroupKey of extractor, as MojoScanner will
execute them grouped, and ordered within groups. |
String |
getName()
Returns the "name" (id) of the extractor.
|
default String |
getRequiredJavaVersion()
The default implementation returns
null . |
boolean |
isDeprecated()
Returns
true if extractor is deprecated. |
boolean isDeprecated()
true
if extractor is deprecated.GroupKey getGroupKey()
GroupKey
of extractor, as MojoScanner
will
execute them grouped, and ordered within groups. Must never return null
.List<org.apache.maven.plugin.descriptor.MojoDescriptor> execute(PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
request
- The PluginToolsRequest
containing information for the extraction process.ExtractionException
- if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if anydefault String getRequiredJavaVersion()
null
.null
if unknownCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.