com.jcoverage.ant
Class CheckTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by com.jcoverage.ant.CheckTask
All Implemented Interfaces:
java.lang.Cloneable, 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
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, 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
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation
 
Methods inherited from class java.lang.Object
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
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException