Class PluginXdocGenerator
- java.lang.Object
-
- org.apache.maven.tools.plugin.generator.PluginXdocGenerator
-
-
Constructor Summary
Constructors Constructor Description PluginXdocGenerator()
Default constructor usingLocale.ENGLISH
as locale.PluginXdocGenerator(org.apache.maven.project.MavenProject project)
Constructor usingLocale.ENGLISH
as locale.PluginXdocGenerator(org.apache.maven.project.MavenProject project, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(File destinationDirectory, PluginToolsRequest request)
Execute the generation for a given plugin descriptor.protected void
processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor, File destinationDirectory)
-
-
-
Constructor Detail
-
PluginXdocGenerator
public PluginXdocGenerator()
Default constructor usingLocale.ENGLISH
as locale. Used only in test cases.
-
PluginXdocGenerator
public PluginXdocGenerator(org.apache.maven.project.MavenProject project)
Constructor usingLocale.ENGLISH
as locale.- Parameters:
project
- not null Maven project.
-
PluginXdocGenerator
public PluginXdocGenerator(org.apache.maven.project.MavenProject project, Locale locale)
- Parameters:
project
- not null.locale
- not null wanted locale.
-
-
Method Detail
-
execute
public void execute(File destinationDirectory, PluginToolsRequest request) throws GeneratorException
Execute the generation for a given plugin descriptor.- Specified by:
execute
in interfaceGenerator
- Parameters:
destinationDirectory
- requiredrequest
- required- Throws:
GeneratorException
- if any
-
processMojoDescriptor
protected void processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor, File destinationDirectory) throws IOException
- Parameters:
mojoDescriptor
- not nulldestinationDirectory
- not null- Throws:
IOException
- if any
-
-