Package org.openclover.ant.tasks
Class CloverInstrTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.openclover.ant.tasks.AbstractCloverTask
org.openclover.ant.tasks.AbstractInstrTask
org.openclover.ant.tasks.CloverInstrTask
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
CloverInstrumentTask
<clover-instr srcdir="" destdir="" initstring="" >
<fileset dir="foo">
<include name=""/>
</fileset>
</clover-instr>
<clover-instr srcdir="" testsrcdir="" destdir="" initstring="" >
<fileset dir="foo">
<include name=""/>
</fileset>
<testsources dir="foo">
<include name=""/>
</testsources>
</clover-instr>
-
Field Summary
Fields inherited from class org.openclover.ant.tasks.AbstractInstrTask
optimizationOnlyFields inherited from class org.openclover.ant.tasks.AbstractCloverTask
config, debugFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetDestDir(File destDir) the destination dir for the instrumentationvoidvoidsetTestSrcDir(File testSrcDir) booleanvalidate()Methods inherited from class org.openclover.ant.tasks.AbstractInstrTask
addConfiguredDistributedCoverage, addConfiguredFileSet, addConfiguredProfiles, addConfiguredTestSources, addMethodContext, addStatementContext, getRuntimeInitString, setEncoding, setFlushInterval, setFlushPolicy, setFullyQualifyJavaLang, setInstrumentationLevel, setInstrumentLambda, setOptimizationOnly, setRecordTestResults, setRelative, setReportInitErrors, setSourceMethods inherited from class org.openclover.ant.tasks.AbstractCloverTask
execute, getInitString, init, resolveInitString, setDebug, setInitString, setTmpDirMethods 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
CloverInstrTask
public CloverInstrTask()
-
-
Method Details
-
setSrcDir
-
setTestSrcDir
-
setDestDir
the destination dir for the instrumentation -
validate
public boolean validate()- Overrides:
validatein classAbstractInstrTask
-
cloverExecute
public void cloverExecute()- Specified by:
cloverExecutein classAbstractCloverTask
-