org.codehaus.mojo.rat
Class RatCheckMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.rat.AbstractRatMojo
org.codehaus.mojo.rat.RatCheckMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class RatCheckMojo
- extends AbstractRatMojo
Run RAT to perform a violation check.
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 |
RatCheckMojo
public RatCheckMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Invoked by Maven to execute the Mojo.
- Throws:
org.apache.maven.plugin.MojoFailureException
- An error in the plugin configuration was detected.
org.apache.maven.plugin.MojoExecutionException
- Another error occurred while executing the plugin.
check
protected void check(Document document)
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
check
protected void check(RatStatistics statistics)
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.