public class PluginXdocGenerator extends Object implements Generator
Constructor and Description |
---|
PluginXdocGenerator()
Default constructor using
Locale.ENGLISH as locale. |
PluginXdocGenerator(org.apache.maven.project.MavenProject project)
Constructor using
Locale.ENGLISH as locale. |
PluginXdocGenerator(org.apache.maven.project.MavenProject project,
Locale locale) |
Modifier and Type | Method and 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) |
public PluginXdocGenerator()
Locale.ENGLISH
as locale.
Used only in test cases.public PluginXdocGenerator(org.apache.maven.project.MavenProject project)
Locale.ENGLISH
as locale.project
- not null Maven project.public PluginXdocGenerator(org.apache.maven.project.MavenProject project, Locale locale)
project
- not null.locale
- not null wanted locale.public void execute(File destinationDirectory, PluginToolsRequest request) throws GeneratorException
execute
in interface Generator
destinationDirectory
- requiredrequest
- requiredGeneratorException
- if anyprotected void processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor, File destinationDirectory) throws IOException
mojoDescriptor
- not nulldestinationDirectory
- not nullIOException
- if anyCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.