Interface MojoDescriptorExtractor
- All Known Implementing Classes:
- AbstractScriptedMojoDescriptorExtractor,- AntMojoDescriptorExtractor,- BeanshellMojoDescriptorExtractor,- JavaAnnotationsMojoDescriptorExtractor,- JavaJavadocMojoDescriptorExtractor
public interface MojoDescriptorExtractor
- Author:
- jdcasey
- 
Method SummaryModifier and TypeMethodDescriptionList<org.apache.maven.plugin.descriptor.MojoDescriptor> execute(PluginToolsRequest request) Execute the mojo extraction.Returns theGroupKeyof extractor, asMojoScannerwill execute them grouped, and ordered within groups.getName()Returns the "name" (id) of the extractor.default StringThe default implementation returnsnull.booleanReturnstrueif extractor is deprecated.
- 
Method Details- 
getNameReturns the "name" (id) of the extractor.- Since:
- 3.7.0
 
- 
isDeprecatedboolean isDeprecated()Returnstrueif extractor is deprecated.- Since:
- 3.7.0
 
- 
getGroupKeyReturns theGroupKeyof extractor, asMojoScannerwill execute them grouped, and ordered within groups. Must never returnnull.- Since:
- 3.7.0
 
- 
executeList<org.apache.maven.plugin.descriptor.MojoDescriptor> execute(PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException Execute the mojo extraction.- Parameters:
- request- The- PluginToolsRequestcontaining information for the extraction process.
- Returns:
- a list of mojo descriptors. These may return HTML values for some fields.
- Throws:
- ExtractionException- if any
- org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException- if any
- Since:
- 2.5
 
- 
getRequiredJavaVersionThe default implementation returnsnull.- Returns:
- the required java version or nullif unknown
- Since:
- 3.8.0
 
 
-