Class PluginXdocGenerator
- java.lang.Object
-
- org.apache.maven.tools.plugin.generator.PluginXdocGenerator
-
-
Constructor Summary
Constructors Constructor Description PluginXdocGenerator()Default constructor usingLocale.ENGLISHas locale.PluginXdocGenerator(org.apache.maven.project.MavenProject project)Constructor usingLocale.ENGLISHas locale.PluginXdocGenerator(org.apache.maven.project.MavenProject project, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(File destinationDirectory, PluginToolsRequest request)Execute the generation for a given plugin descriptor.protected voidprocessMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor, File destinationDirectory)
-
-
-
Constructor Detail
-
PluginXdocGenerator
public PluginXdocGenerator()
Default constructor usingLocale.ENGLISHas locale. Used only in test cases.
-
PluginXdocGenerator
public PluginXdocGenerator(org.apache.maven.project.MavenProject project)
Constructor usingLocale.ENGLISHas 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:
executein 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
-
-