org.codehaus.mojo.emma
Class EmmaCheckMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.emma.AbstractEmmaMojo
          extended by org.codehaus.mojo.emma.EmmaCheckMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class EmmaCheckMojo
extends AbstractEmmaMojo

Check last intrumentation results.

Author:
Alexandre ROMAN

Field Summary
protected  CheckConfiguration check
          Check configuration.
protected  File coverageFile
          Location to XML coverage file.
protected  File[] dataFiles
          Class coverage data files.
protected  File metadataFile
          Location to store class coverage metadata.
protected  File outputDirectory
          Location to store EMMA generated resources.
 
Fields inherited from class org.codehaus.mojo.emma.AbstractEmmaMojo
project, verbose
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
EmmaCheckMojo()
           
 
Method Summary
protected  void doExecute()
          Does the work.
 
Methods inherited from class org.codehaus.mojo.emma.AbstractEmmaMojo
checkParameters, execute
 
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
 

Field Detail

coverageFile

protected File coverageFile
Location to XML coverage file.


check

protected CheckConfiguration check
Check configuration.


metadataFile

protected File metadataFile
Location to store class coverage metadata.


dataFiles

protected File[] dataFiles
Class coverage data files.


outputDirectory

protected File outputDirectory
Location to store EMMA generated resources.

Constructor Detail

EmmaCheckMojo

public EmmaCheckMojo()
Method Detail

doExecute

protected void doExecute()
                  throws org.apache.maven.plugin.MojoExecutionException,
                         org.apache.maven.plugin.MojoFailureException
Does the work.

Specified by:
doExecute in class AbstractEmmaMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if things go wrong.
org.apache.maven.plugin.MojoFailureException - if things go wrong.


Copyright © 2007-2012 Codehaus. All Rights Reserved.