|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.optional.sitraka.CovBase | +--org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
Runs the JProbe Coverage 3.0 snapshot merge utility.
Nested Class Summary | |
class |
CovReport.Reference
|
static class |
CovReport.ReportFormat
|
static class |
CovReport.ReportType
|
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 | |
CovReport()
|
Method Summary | |
protected void |
checkOptions()
check for mandatory options |
Path |
createCoveragepath()
|
CovReport.Reference |
createReference()
Adds a set of classes whose coverage information will be checked against. |
Path |
createSourcepath()
Adds a path to source files. |
void |
execute()
Called by the project to let the task do its work. |
protected java.lang.String[] |
getParameters()
|
void |
setFilters(java.lang.String values)
set the filters |
void |
setFormat(CovReport.ReportFormat value)
set the format of the report: "html", "text", or "xml" |
void |
setIncludesource(boolean value)
If true, include text of the source code lines. |
void |
setPercent(java.lang.Integer value)
A numeric value for the threshold for printing methods. |
void |
setSnapshot(java.io.File value)
The name of the snapshot file that is the source to the report. |
void |
setTofile(java.io.File value)
The name of the generated output file. |
void |
setType(CovReport.ReportType value)
The type of report to be generated: "executive", "summary", "detailed" or "verydetailed". |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.sitraka.CovBase |
createTempFile, findCoverageJar, findExecutable, getHome, getParamFileArgument, isJProbe4Plus, setHome |
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 CovReport()
Method Detail |
public void setFormat(CovReport.ReportFormat value)
public void setType(CovReport.ReportType value)
public void setIncludesource(boolean value)
public void setPercent(java.lang.Integer value)
public void setFilters(java.lang.String values)
public Path createSourcepath()
public void setSnapshot(java.io.File value)
public void setTofile(java.io.File value)
public Path createCoveragepath()
public CovReport.Reference createReference()
protected void checkOptions() throws BuildException
BuildException
public void execute() throws BuildException
Task
execute
in class Task
BuildException
- if something goes wrong with the buildprotected java.lang.String[] getParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |