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:
- org.apache.tools.ant.types.selectors.SelectorContainer
- Direct Known Subclasses:
- InstrumentTask, MergeTask
- 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 |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Method Summary |
protected void |
addArg(java.lang.String arg)
|
void |
addFileset(org.apache.tools.ant.types.FileSet fileSet)
|
(package private) java.lang.String |
baseDir(org.apache.tools.ant.types.FileSet fileSet)
|
org.apache.tools.ant.types.Path |
createClasspath()
|
private java.lang.String |
getClassName()
|
(package private) org.apache.tools.ant.DirectoryScanner |
getDirectoryScanner(org.apache.tools.ant.types.FileSet fileSet)
|
(package private) java.lang.String[] |
getExcludedFiles(org.apache.tools.ant.types.FileSet fileSet)
|
(package private) java.lang.String[] |
getFilenames(org.apache.tools.ant.types.FileSet fileSet)
|
(package private) java.lang.String[] |
getIncludedFiles(org.apache.tools.ant.types.FileSet fileSet)
|
protected org.apache.tools.ant.taskdefs.Java |
getJava()
|
protected void |
initArgs()
|
protected void |
saveArgs()
|
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
|
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
|
void |
setTodir(java.io.File toDir)
|
protected void |
unInitArgs()
|
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 |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINESEP
private static final java.lang.String LINESEP
className
final java.lang.String className
fileSets
final java.util.List fileSets
java
private org.apache.tools.ant.taskdefs.Java java
commandLineFile
private java.io.File commandLineFile
commandLineWriter
private java.io.FileWriter commandLineWriter
toDir
java.io.File toDir
CommonMatchingTask
public CommonMatchingTask(java.lang.String className)
getClassName
private java.lang.String getClassName()
initArgs
protected void initArgs()
addArg
protected void addArg(java.lang.String arg)
saveArgs
protected void saveArgs()
unInitArgs
protected void unInitArgs()
getJava
protected org.apache.tools.ant.taskdefs.Java getJava()
setTodir
public void setTodir(java.io.File toDir)
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.FileSet fileSet)
getIncludedFiles
java.lang.String[] getIncludedFiles(org.apache.tools.ant.types.FileSet fileSet)
getExcludedFiles
java.lang.String[] getExcludedFiles(org.apache.tools.ant.types.FileSet fileSet)
getFilenames
java.lang.String[] getFilenames(org.apache.tools.ant.types.FileSet fileSet)
baseDir
java.lang.String baseDir(org.apache.tools.ant.types.FileSet fileSet)
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fileSet)