public class InstrumentTask extends CommonMatchingTask
Modifier and Type | Field and Description |
---|---|
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 |
className, fileSets
Constructor and Description |
---|
InstrumentTask() |
Modifier and Type | Method and Description |
---|---|
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) |
addDirSet, addFileset, baseDir, createArgumentsForFilesets, createClasspath, getDirectoryScanner, getExcludedFiles, getFilenames, getIncludedFiles, getJava, setClasspath, setClasspathRef, setForkedJVMDebugPort, setMaxMemory
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
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
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
public InstrumentTask()
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.Task
org.apache.tools.ant.BuildException
private 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)