org.codehaus.mojo.emma
Class EmmaCleanMojo

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

public class EmmaCleanMojo
extends AbstractEmmaMojo

Clean EMMA generated resources.

Author:
Alexandre ROMAN

Field Summary
protected  File[] dataFiles
          Class coverage data files.
protected  File metadataFile
          Location to store class coverage metadata.
 
Fields inherited from class org.codehaus.mojo.emma.AbstractEmmaMojo
outputDirectory, project, verbose
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
EmmaCleanMojo()
           
 
Method Summary
protected  void checkParameters()
          Checks the parameters before doing the work.
protected  void doExecute()
          Does the work.
 
Methods inherited from class org.codehaus.mojo.emma.AbstractEmmaMojo
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

metadataFile

protected File metadataFile
Location to store class coverage metadata.


dataFiles

protected File[] dataFiles
Class coverage data files.

Constructor Detail

EmmaCleanMojo

public EmmaCleanMojo()
Method Detail

checkParameters

protected void checkParameters()
                        throws org.apache.maven.plugin.MojoExecutionException,
                               org.apache.maven.plugin.MojoFailureException
Checks the parameters before doing the work.

Overrides:
checkParameters in class AbstractEmmaMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if things go wrong.
org.apache.maven.plugin.MojoFailureException - if things go wrong.

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.