|
||||||||||
| 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()
|
org.apache.maven.plugin.logging.Log |
getLog()
|
String |
getMaxmem()
|
List |
getPluginClasspathList()
|
boolean |
isQuiet()
Getter for quiet. |
void |
setCmdLineArgs(CommandLineArguments cmdLineArgs)
|
void |
setLog(org.apache.maven.plugin.logging.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 org.apache.maven.plugin.MojoExecutionException
${project.compileClasspathElements} and the ${plugin.artifacts}, create
a classpath string that is suitable to be used from a forked cobertura process.
org.apache.maven.plugin.MojoExecutionException - if the pluginArtifacts cannot be properly resolved to a full system path.
public abstract void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected int executeJava()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic CommandLineArguments getCmdLineArgs()
public org.apache.maven.plugin.logging.Log getLog()
public String getMaxmem()
public List getPluginClasspathList()
public void setCmdLineArgs(CommandLineArguments cmdLineArgs)
public void setLog(org.apache.maven.plugin.logging.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 | |||||||||