org.joda.beans.maven
Class JodaBeansValidateMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.joda.beans.maven.AbstractJodaBeansMojo
org.joda.beans.maven.JodaBeansValidateMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JodaBeansValidateMojo
- extends AbstractJodaBeansMojo
Maven plugin for validating that the generated Joda-Beans are up to date.
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
JodaBeansValidateMojo
public JodaBeansValidateMojo()
buildArgs
protected List<String> buildArgs()
- Description copied from class:
AbstractJodaBeansMojo
- Builds the arguments to the tool.
- Overrides:
buildArgs in class AbstractJodaBeansMojo
- Returns:
- the arguments, not null
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 nullargsList - 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.