org.codehaus.mojo.cobertura.tasks
Class CheckTask

java.lang.Object
  extended by org.codehaus.mojo.cobertura.tasks.AbstractTask
      extended by org.codehaus.mojo.cobertura.tasks.CheckTask

public class CheckTask
extends AbstractTask

The Check Task.

Author:
Joakim Erdfelt

Field Summary
 
Fields inherited from class org.codehaus.mojo.cobertura.tasks.AbstractTask
cmdLineArgs
 
Constructor Summary
CheckTask()
          Setup the check task.
 
Method Summary
 void execute()
          Run the task.
 ConfigCheck getConfig()
           
 String getDataFile()
           
 void setConfig(ConfigCheck config)
          Set the check configuration.
 void setDataFile(String dataFile)
           
 
Methods inherited from class org.codehaus.mojo.cobertura.tasks.AbstractTask
createClasspath, executeJava, getCmdLineArgs, getLog, getMaxmem, getPluginClasspathList, isQuiet, setCmdLineArgs, setLog, setMaxmem, setPluginClasspathList, setQuiet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckTask

public CheckTask()
Setup the check task.

Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Run the task.

Specified by:
execute in class AbstractTask
Throws:
org.apache.maven.plugin.MojoExecutionException - for a full-out execution problem.
org.apache.maven.plugin.MojoFailureException - for an anticipated failure.

getConfig

public ConfigCheck getConfig()
Returns:
the check configuration.

getDataFile

public String getDataFile()
Returns:
Returns the dataFile.

setConfig

public void setConfig(ConfigCheck config)
Set the check configuration.

Parameters:
config - the config.

setDataFile

public void setDataFile(String dataFile)
Parameters:
dataFile - The dataFile to set.


Copyright © 2005-2011 Codehaus. All Rights Reserved.