net.sourceforge.cobertura.ant
Class CommonMatchingTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
net.sourceforge.cobertura.ant.CommonMatchingTask
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer
- Direct Known Subclasses:
- CheckTask, InstrumentTask, MergeTask, ReportTask
public abstract class CommonMatchingTask
- extends org.apache.tools.ant.taskdefs.MatchingTask
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 |
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, execute, 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 |
className
final java.lang.String className
fileSets
final java.util.List fileSets
java
private org.apache.tools.ant.taskdefs.Java java
maxMemory
private java.lang.String maxMemory
forkedJVMDebugPort
private int forkedJVMDebugPort
CommonMatchingTask
public CommonMatchingTask(java.lang.String className)
getClassName
private java.lang.String getClassName()
getJava
protected org.apache.tools.ant.taskdefs.Java getJava()
createArgumentsForFilesets
protected void createArgumentsForFilesets(CommandLineBuilder builder)
throws java.io.IOException
- Throws:
java.io.IOException
createArgumentsForFilenames
private void createArgumentsForFilenames(CommandLineBuilder builder,
java.lang.String[] filenames)
throws java.io.IOException
- Throws:
java.io.IOException
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)
getDirectoryScanner
org.apache.tools.ant.DirectoryScanner getDirectoryScanner(org.apache.tools.ant.types.AbstractFileSet fileSet)
getIncludedFiles
java.lang.String[] getIncludedFiles(org.apache.tools.ant.types.AbstractFileSet fileSet)
getExcludedFiles
java.lang.String[] getExcludedFiles(org.apache.tools.ant.types.FileSet fileSet)
getFilenames
java.lang.String[] getFilenames(org.apache.tools.ant.types.AbstractFileSet fileSet)
baseDir
java.lang.String baseDir(org.apache.tools.ant.types.AbstractFileSet fileSet)
addDirSet
public void addDirSet(org.apache.tools.ant.types.DirSet dirSet)
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fileSet)
setMaxMemory
public void setMaxMemory(java.lang.String maxMemory)
- Parameters:
maxMemory
- Assumed to be something along the lines of
100M or 50K or 1G.
setForkedJVMDebugPort
public void setForkedJVMDebugPort(int forkedJVMDebugPort)
- Used to debug the process that is forked to perform the operation.
Setting this to a non-zero number will cause the process to open
a debug port on that port number. It will suspend until a
remote debugger is attached to the port.
- Parameters:
forkedJVMDebugPort
-