public class InstrumentTask extends AbstractTask
cmdLineArgs
Constructor and Description |
---|
InstrumentTask()
Create a new InstrumentTask.
|
Modifier and Type | Method and Description |
---|---|
String |
createClasspath()
Using the
${project.compileClasspathElements} and the ${plugin.artifacts} , create
a classpath string that is suitable to be used from a forked cobertura process. |
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
|
executeJava, getCmdLineArgs, getLog, getMaxmem, getPluginClasspathList, isQuiet, setCmdLineArgs, setLog, setMaxmem, setPluginClasspathList, setQuiet
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in class AbstractTask
org.apache.maven.plugin.MojoExecutionException
- for a full-out execution problem.public ConfigInstrumentation getConfig()
public File getDataFile()
public File getDestinationDir()
public String joinCludes(List<String> cludes)
cludes
- the list of strings.public void setConfig(ConfigInstrumentation config)
config
- the configurationpublic void setDataFile(File dataFile)
dataFile
- the data filepublic void setDestinationDir(File destinationDir)
destinationDir
- the directorypublic String createClasspath() throws org.apache.maven.plugin.MojoExecutionException
AbstractTask
${project.compileClasspathElements}
and the ${plugin.artifacts}
, create
a classpath string that is suitable to be used from a forked cobertura process.createClasspath
in class AbstractTask
org.apache.maven.plugin.MojoExecutionException
- if the pluginArtifacts cannot be properly resolved to a full system path.Copyright © 2005–2015 Codehaus. All rights reserved.