public abstract class AbstractTask extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CommandLineArguments |
cmdLineArgs |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTask(String taskClassname)
Initialize AbstractTask.
|
| 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. |
abstract void |
execute() |
protected int |
executeJava() |
CommandLineArguments |
getCmdLineArgs() |
Log |
getLog() |
String |
getMaxmem() |
List |
getPluginClasspathList() |
boolean |
isQuiet()
Getter for
quiet. |
void |
setCmdLineArgs(CommandLineArguments cmdLineArgs) |
void |
setLog(Log log) |
void |
setMaxmem(String maxmem) |
void |
setPluginClasspathList(List pluginClasspathList) |
void |
setQuiet(boolean quiet)
Setter for
quiet. |
protected CommandLineArguments cmdLineArgs
protected AbstractTask(String taskClassname)
taskClassname - the classname for the task.public void setQuiet(boolean quiet)
quiet.quiet - The quiet to set.public boolean isQuiet()
quiet.public String createClasspath() throws MojoExecutionException
${project.compileClasspathElements} and the ${plugin.artifacts}, create
a classpath string that is suitable to be used from a forked cobertura process.MojoExecutionException - if the pluginArtifacts cannot be properly resolved to a full system path.public abstract void execute()
throws MojoExecutionException
MojoExecutionExceptionprotected int executeJava()
throws MojoExecutionException
MojoExecutionExceptionpublic CommandLineArguments getCmdLineArgs()
public Log getLog()
public String getMaxmem()
public List getPluginClasspathList()
public void setCmdLineArgs(CommandLineArguments cmdLineArgs)
public void setLog(Log log)
public void setMaxmem(String maxmem)
public void setPluginClasspathList(List pluginClasspathList)
pluginClasspathList - The pluginClasspathList to set.Copyright © 2005-2014 Codehaus. All Rights Reserved.