@Deprecated public abstract class AbstractScriptedMojoDescriptorExtractor extends org.codehaus.plexus.logging.AbstractLogEnabled implements MojoDescriptorExtractor
Constructor and Description |
---|
AbstractScriptedMojoDescriptorExtractor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
copyScriptsToOutputDirectory(Map<String,Set<File>> scriptFilesKeyedByBasedir,
String outputDirectory,
PluginToolsRequest request)
Deprecated.
|
List<org.apache.maven.plugin.descriptor.MojoDescriptor> |
execute(PluginToolsRequest request)
Deprecated.
Execute the mojo extraction.
|
protected List<org.apache.maven.plugin.descriptor.MojoDescriptor> |
extractMojoDescriptors(Map<String,Set<File>> scriptFilesKeyedByBasedir,
PluginToolsRequest request)
Deprecated.
Should be implemented in the sub classes.
|
protected List<org.apache.maven.plugin.descriptor.MojoDescriptor> |
extractMojoDescriptorsFromMetadata(Map<String,Set<File>> metadataFilesByBasedir,
PluginToolsRequest request)
Deprecated.
Should be implemented in the sub classes.
|
protected Map<String,Set<File>> |
gatherFilesByBasedir(File basedir,
List<String> directories,
String scriptFileExtension,
PluginToolsRequest request)
Deprecated.
|
protected String |
getMetadataFileExtension(PluginToolsRequest request)
Deprecated.
Should be implemented in the sub classes.
|
protected abstract String |
getScriptFileExtension(PluginToolsRequest request)
Deprecated.
|
boolean |
isDeprecated()
Deprecated.
Returns
true if extractor is deprecated. |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGroupKey, getName
public AbstractScriptedMojoDescriptorExtractor()
public boolean isDeprecated()
MojoDescriptorExtractor
true
if extractor is deprecated.isDeprecated
in interface MojoDescriptorExtractor
public List<org.apache.maven.plugin.descriptor.MojoDescriptor> execute(PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
execute
in interface MojoDescriptorExtractor
request
- The PluginToolsRequest
containing information for the extraction process.ExtractionException
- if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if anyprotected void copyScriptsToOutputDirectory(Map<String,Set<File>> scriptFilesKeyedByBasedir, String outputDirectory, PluginToolsRequest request) throws ExtractionException
scriptFilesKeyedByBasedir
- not nulloutputDirectory
- not nullrequest
- the requestExtractionException
- if anyprotected Map<String,Set<File>> gatherFilesByBasedir(File basedir, List<String> directories, String scriptFileExtension, PluginToolsRequest request)
basedir
- not nulldirectories
- not nullscriptFileExtension
- not nullrequest
- the requestprotected List<org.apache.maven.plugin.descriptor.MojoDescriptor> extractMojoDescriptorsFromMetadata(Map<String,Set<File>> metadataFilesByBasedir, PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
metadataFilesByBasedir
- could be nullrequest
- The plugin request, never null
.ExtractionException
- if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if anyprotected String getMetadataFileExtension(PluginToolsRequest request)
request
- the requestprotected List<org.apache.maven.plugin.descriptor.MojoDescriptor> extractMojoDescriptors(Map<String,Set<File>> scriptFilesKeyedByBasedir, PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
scriptFilesKeyedByBasedir
- could be nullrequest
- The plugin request, never null
.ExtractionException
- if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if anyprotected abstract String getScriptFileExtension(PluginToolsRequest request)
request
- the request.bsh
for BeanShell.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.