org.joda.beans.maven
Class JodaBeansGenerateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.joda.beans.maven.AbstractJodaBeansMojo
          extended by org.joda.beans.maven.JodaBeansGenerateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JodaBeansGenerateMojo
extends AbstractJodaBeansMojo

Maven plugin for generating Joda-Beans.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JodaBeansGenerateMojo()
           
 
Method Summary
protected  int runTool(Class<?> toolClass, List<String> argsList)
          Runs the tool.
 
Methods inherited from class org.joda.beans.maven.AbstractJodaBeansMojo
buildArgs, execute, getSourceDir, getTestSourceDir
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JodaBeansGenerateMojo

public JodaBeansGenerateMojo()
Method Detail

runTool

protected int runTool(Class<?> toolClass,
                      List<String> argsList)
               throws org.apache.maven.plugin.MojoExecutionException,
                      org.apache.maven.plugin.MojoFailureException
Description copied from class: AbstractJodaBeansMojo
Runs the tool.

Overrides:
runTool in class AbstractJodaBeansMojo
Parameters:
toolClass - the tool class, not null
argsList - the argument flags, not null
Returns:
the number of changes
Throws:
org.apache.maven.plugin.MojoExecutionException - if an error occurs
org.apache.maven.plugin.MojoFailureException - if a failure occurs


Copyright © 2013 Joda.org. All rights reserved.