Class AbstractCloverTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.openclover.ant.tasks.AbstractCloverTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AbstractInstrTask, CloverCanOptimizeTests, CloverCleanTask, CloverLogTask, CloverMergeTask, CloverPassTask, CloverReportTask, CloverSnapshotTask, HistoryPointTask

public abstract class AbstractCloverTask extends org.apache.tools.ant.Task
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected boolean
     

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
     
    final void
     
     
    void
     
    protected String
     
    void
    setDebug(boolean debug)
     
    void
    setInitString(String initString)
     
    void
    setTmpDir(File tmpDir)
    Temporary directory into which instrumented code is to be written
    boolean
     

    Methods inherited from class org.apache.tools.ant.Task

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AbstractCloverTask

      public AbstractCloverTask()
  • Method Details

    • init

      public void init() throws org.apache.tools.ant.BuildException
      Overrides:
      init in class org.apache.tools.ant.Task
      Throws:
      org.apache.tools.ant.BuildException
    • getInitString

      public String getInitString()
    • setInitString

      public void setInitString(String initString)
    • setDebug

      public void setDebug(boolean debug)
    • resolveInitString

      protected String resolveInitString() throws org.apache.tools.ant.BuildException
      Throws:
      org.apache.tools.ant.BuildException
    • execute

      public final void execute()
      Overrides:
      execute in class org.apache.tools.ant.Task
    • validate

      public boolean validate()
    • cloverExecute

      public abstract void cloverExecute()
    • setTmpDir

      public void setTmpDir(File tmpDir)
      Temporary directory into which instrumented code is to be written
      Parameters:
      tmpDir - the temp directory to use to write instructmented code.