|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.cobertura.tasks.AbstractTask
public abstract class AbstractTask
Base Abstract Class for all of the Tasks.
Field Summary | |
---|---|
protected CommandLineArguments |
cmdLineArgs
|
Constructor Summary | |
---|---|
protected |
AbstractTask(String taskClassname)
Initialize AbstractTask. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CommandLineArguments cmdLineArgs
Constructor Detail |
---|
protected AbstractTask(String taskClassname)
taskClassname
- the classname for the task.Method Detail |
---|
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
MojoExecutionException
protected int executeJava() throws MojoExecutionException
MojoExecutionException
public 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |