|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
net.sourceforge.cobertura.ant.CommonMatchingTask
net.sourceforge.cobertura.ant.InstrumentTask
public class InstrumentTask
| Field Summary | |
|---|---|
private java.lang.String |
dataFile
|
(package private) java.util.List |
excludeClassesRegexs
|
private java.util.HashMap |
fileSetMap
|
private java.lang.Integer |
forkedJVMDebugPort
|
(package private) java.util.List |
ignoreBranchesRegexs
|
(package private) java.util.List |
ignoreRegexs
|
(package private) java.util.List |
includeClassesRegexs
|
private org.apache.tools.ant.types.Path |
instrumentationClasspath
|
private java.io.File |
toDir
|
| Fields inherited from class net.sourceforge.cobertura.ant.CommonMatchingTask |
|---|
className, fileSets |
| 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 | |
|---|---|
InstrumentTask()
|
|
| Method Summary | |
|---|---|
private void |
addFileToFilesets(java.io.File file)
|
ExcludeClasses |
createExcludeClasses()
|
private void |
createFilesetForDirectory(java.io.File dir)
|
Ignore |
createIgnore()
|
IgnoreBranches |
createIgnoreBranches()
|
IncludeClasses |
createIncludeClasses()
|
org.apache.tools.ant.types.Path |
createInstrumentationClasspath()
|
void |
execute()
|
private org.apache.tools.ant.types.FileSet |
getFileSet(java.io.File dir)
|
private void |
processInstrumentationClasspath()
|
void |
setDataFile(java.lang.String dataFile)
|
void |
setForkedJVMDebugPort(java.lang.Integer forkedJVMDebugPort)
|
void |
setToDir(java.io.File toDir)
|
| Methods inherited from class net.sourceforge.cobertura.ant.CommonMatchingTask |
|---|
addDirSet, addFileset, baseDir, createArgumentsForFilesets, createClasspath, getDirectoryScanner, getExcludedFiles, getFilenames, getIncludedFiles, getJava, setClasspath, setClasspathRef, setMaxMemory |
| 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 |
|---|
private java.lang.String dataFile
private java.io.File toDir
java.util.List ignoreRegexs
java.util.List ignoreBranchesRegexs
java.util.List includeClassesRegexs
java.util.List excludeClassesRegexs
private java.lang.Integer forkedJVMDebugPort
private org.apache.tools.ant.types.Path instrumentationClasspath
private java.util.HashMap fileSetMap
| Constructor Detail |
|---|
public InstrumentTask()
| Method Detail |
|---|
public Ignore createIgnore()
public IgnoreBranches createIgnoreBranches()
public IncludeClasses createIncludeClasses()
public ExcludeClasses createExcludeClasses()
public org.apache.tools.ant.types.Path createInstrumentationClasspath()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprivate void processInstrumentationClasspath()
private void addFileToFilesets(java.io.File file)
private org.apache.tools.ant.types.FileSet getFileSet(java.io.File dir)
private void createFilesetForDirectory(java.io.File dir)
public void setDataFile(java.lang.String dataFile)
public void setToDir(java.io.File toDir)
public void setForkedJVMDebugPort(java.lang.Integer forkedJVMDebugPort)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||