org.codehaus.mojo.cobertura.tasks
Class InstrumentTask

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

public class InstrumentTask
extends AbstractTask

The Instrument Task.

Author:
Joakim Erdfelt

Field Summary
 
Fields inherited from class org.codehaus.mojo.cobertura.tasks.AbstractTask
cmdLineArgs
 
Constructor Summary
InstrumentTask()
          Create a new InstrumentTask.
 
Method Summary
 void execute()
          Run the task.
 ConfigInstrumentation getConfig()
           
 File getDataFile()
           
 File getDestinationDir()
           
 String joinCludes(List<String> cludes)
          Construct a ,-separated string from a list of strings.
 void setConfig(ConfigInstrumentation config)
          Set the configuration
 void setDataFile(File dataFile)
          Set the data file
 void setDestinationDir(File destinationDir)
          Set the destination directory
 
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

InstrumentTask

public InstrumentTask()
Create a new InstrumentTask.

Method Detail

execute

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

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

getConfig

public ConfigInstrumentation getConfig()
Returns:
the config.

getDataFile

public File getDataFile()
Returns:
the data file

getDestinationDir

public File getDestinationDir()
Returns:
the destination directory.

joinCludes

public String joinCludes(List<String> cludes)
Construct a ,-separated string from a list of strings.

Parameters:
cludes - the list of strings.
Returns:
the ,-separated string.

setConfig

public void setConfig(ConfigInstrumentation config)
Set the configuration

Parameters:
config - the configuration

setDataFile

public void setDataFile(File dataFile)
Set the data file

Parameters:
dataFile - the data file

setDestinationDir

public void setDestinationDir(File destinationDir)
Set the destination directory

Parameters:
destinationDir - the directory


Copyright © 2005-2011 Codehaus. All Rights Reserved.