|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sourceforge.groboutils.codecoverage.v2.ant.GroboInstrumentTask
A variation of the CoveragePostCompilerTask. This one is intended to simplify the Ant build files. See feature request 901588 for details.
Nested Class Summary | |
static class |
GroboInstrumentTask.HandleExistingAttribute
Contains all possible HandleExisting types. |
static class |
GroboInstrumentTask.LoggerAttribute
Contains all possible logger types. |
static class |
GroboInstrumentTask.LoggerProperty
Used for associating a key with a value for the properties. |
Field Summary |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
GroboInstrumentTask()
|
Method Summary | |
void |
addFileSet(org.apache.tools.ant.types.FileSet fs)
Add a new fileset instance to this compilation. |
void |
addLoggerProp(GroboInstrumentTask.LoggerProperty lp)
Adds a property to the logger properties file. |
void |
addMeasure(AnalysisModuleType amt)
Creates a new analysis module. |
void |
execute()
Perform the task |
void |
setDestDir(java.io.File f)
Sets the directory in which all the recompiled class files will be placed. |
void |
setIfExists(GroboInstrumentTask.HandleExistingAttribute hea)
Sets the behavior when classes get post-compiled - should the previous post-compiled class be replaced, kept, or should all the previous data be cleaned? |
void |
setLogDir(java.io.File f)
Sets the directory in which all the data accumulated from the post compilation step will be placed, and the logging output as well. |
void |
setLogger(GroboInstrumentTask.LoggerAttribute la)
Set the type of logger to use. |
void |
setLoggerFactory(java.lang.String name)
Allow the user to specify a logger factory class name. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroboInstrumentTask()
Method Detail |
public void addFileSet(org.apache.tools.ant.types.FileSet fs)
fs
- the new fileset containing the rules to get the testcases.public void setLogger(GroboInstrumentTask.LoggerAttribute la)
public void setLoggerFactory(java.lang.String name)
public void setLogDir(java.io.File f)
public void setDestDir(java.io.File f)
public void addMeasure(AnalysisModuleType amt)
public void addLoggerProp(GroboInstrumentTask.LoggerProperty lp)
public void setIfExists(GroboInstrumentTask.HandleExistingAttribute hea)
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |