com.jcoverage.ant
Class CheckTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.MatchingTask
              extended bycom.jcoverage.ant.CheckTask
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class CheckTask
extends org.apache.tools.ant.taskdefs.MatchingTask


Field Summary
(package private)  java.lang.String branchCoverageRate
           
(package private)  java.lang.String lineCoverageRate
           
(package private)  java.util.Set regexes
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
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
CheckTask()
           
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
           
 Regex createRegex()
           
 void execute()
           
protected  org.apache.tools.ant.taskdefs.Java getJava()
           
 void setBranch(java.lang.String branchCoverageRate)
           
 void setClasspath(org.apache.tools.ant.types.Path classpath)
           
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
           
 void setLine(java.lang.String lineCoverageRate)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

regexes

final java.util.Set regexes

branchCoverageRate

java.lang.String branchCoverageRate

lineCoverageRate

java.lang.String lineCoverageRate
Constructor Detail

CheckTask

public CheckTask()
Method Detail

getJava

protected org.apache.tools.ant.taskdefs.Java getJava()

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classpath)

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)

setBranch

public void setBranch(java.lang.String branchCoverageRate)

setLine

public void setLine(java.lang.String lineCoverageRate)

createRegex

public Regex createRegex()

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException