org.apache.maven.tools.plugin.generator
Class PluginHelpGenerator
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.tools.plugin.generator.PluginHelpGenerator
- All Implemented Interfaces:
- Generator, org.codehaus.plexus.logging.LogEnabled
public class PluginHelpGenerator
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements Generator
Generates an HelpMojo
class.
- Since:
- 2.4
- Version:
- $Id: PluginHelpGenerator.java 1342957 2012-05-26 20:29:09Z hboutemy $
- Author:
- Vincent Siveton
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginHelpGenerator
public PluginHelpGenerator()
- Default constructor
execute
public void execute(File destinationDirectory,
PluginToolsRequest request)
throws GeneratorException
- Execute the generation for a given plugin descriptor.
- Specified by:
execute
in interface Generator
- Parameters:
destinationDirectory
- requiredrequest
- required
- Throws:
GeneratorException
setHelpPackageName
public PluginHelpGenerator setHelpPackageName(String helpPackageName)
getVelocityComponent
public org.codehaus.plexus.velocity.VelocityComponent getVelocityComponent()
setVelocityComponent
public PluginHelpGenerator setVelocityComponent(org.codehaus.plexus.velocity.VelocityComponent velocityComponent)
getHelpClassSources
protected String getHelpClassSources(String propertiesFilePath)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.