org.apache.tools.ant.taskdefs.optional.sitraka
Class CovReport
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
- public class CovReport
- extends Task
Convenient task to run the snapshot merge utility for JProbe Coverage 3.0.
- Author:
- Stephane Bailliez
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CovReport
public CovReport()
setHome
public void setHome(java.io.File value)
- Set the coverage home. it must point to JProbe coverage
directories where are stored native libraries and jars.
setFormat
public void setFormat(CovReport.ReportFormat value)
- set the format of the report html|text|xml
setType
public void setType(CovReport.ReportType value)
- sets the report type executive|summary|detailed|verydetailed
setIncludesource
public void setIncludesource(boolean value)
- include source code lines. XML report only
setPercent
public void setPercent(java.lang.Integer value)
- sets the threshold printing method 0-100
setFilters
public void setFilters(java.lang.String values)
- set the filters
createSourcepath
public Path createSourcepath()
setSnapshot
public void setSnapshot(java.io.File value)
setTofile
public void setTofile(java.io.File value)
- Set the output snapshot file
createCoveragepath
public Path createCoveragepath()
createReference
public CovReport.Reference createReference()
checkOptions
protected void checkOptions()
throws BuildException
- check for mandatory options
execute
public void execute()
throws BuildException
- Description copied from class:
Task
- Called by the project to let the task do it's work. This method may be
called more than once, if the task is invoked more than once. For example,
if target1 and target2 both depend on target3, then running
"ant target1 target2" will run all tasks in target3 twice.
- Overrides:
execute
in class Task
- Following copied from class:
org.apache.tools.ant.Task
- Throws:
BuildException
- if someting goes wrong with the build
getParameters
protected java.lang.String[] getParameters()
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.