org.apache.maven.tools.plugin.generator
Class PluginXdocGenerator
java.lang.Object
org.apache.maven.tools.plugin.generator.PluginXdocGenerator
- All Implemented Interfaces:
- Generator
public class PluginXdocGenerator
- extends java.lang.Object
- implements Generator
- Version:
- $Id: PluginXdocGenerator.java 684236 2008-08-09 12:11:34Z vsiveton $
Constructor Summary |
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,
java.util.Locale locale)
|
Method Summary |
void |
execute(java.io.File destinationDirectory,
org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
Execute the generation for a given plugin descriptor. |
protected void |
processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor,
java.io.File destinationDirectory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginXdocGenerator
public PluginXdocGenerator()
- Default constructor using
Locale.ENGLISH
as locale.
Used only in test cases.
PluginXdocGenerator
public PluginXdocGenerator(org.apache.maven.project.MavenProject project)
- Constructor using
Locale.ENGLISH
as locale.
- Parameters:
project
- not null Maven project.
PluginXdocGenerator
public PluginXdocGenerator(org.apache.maven.project.MavenProject project,
java.util.Locale locale)
- Parameters:
project
- not null.locale
- not null wanted locale.
execute
public void execute(java.io.File destinationDirectory,
org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
throws java.io.IOException
- Execute the generation for a given plugin descriptor.
- Specified by:
execute
in interface Generator
- Parameters:
destinationDirectory
- requiredpluginDescriptor
- required
- Throws:
java.io.IOException
- if any
processMojoDescriptor
protected void processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor,
java.io.File destinationDirectory)
throws java.io.IOException
- Parameters:
mojoDescriptor
- not nulldestinationDirectory
- not null
- Throws:
java.io.IOException
- if any
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.