Class PluginXdocGenerator
java.lang.Object
org.apache.maven.tools.plugin.generator.PluginXdocGenerator
- All Implemented Interfaces:
 Generator
Generate xdoc documentation for each mojo.
- 
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor usingLocale.ENGLISHas locale.PluginXdocGenerator(org.apache.maven.project.MavenProject project) Constructor usingLocale.ENGLISHas locale.PluginXdocGenerator(org.apache.maven.project.MavenProject project, Locale locale, File reportOutputDirectory, boolean disableInternalJavadocLinkValidation)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(File destinationDirectory, PluginToolsRequest request) Execute the generation for a given plugin descriptor.protected voidprocessMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor, File destinationDirectory)  
- 
Constructor Details
- 
PluginXdocGenerator
public PluginXdocGenerator()Default constructor usingLocale.ENGLISHas locale. Used only in test cases. - 
PluginXdocGenerator
Constructor usingLocale.ENGLISHas locale.- Parameters:
 project- not null Maven project.
 - 
PluginXdocGenerator
public PluginXdocGenerator(org.apache.maven.project.MavenProject project, Locale locale, File reportOutputDirectory, boolean disableInternalJavadocLinkValidation) - Parameters:
 project- not null.locale- not null wanted locale.
 
 - 
 - 
Method Details
- 
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
 
 -