net.sourceforge.cobertura.ant
Class CommonMatchingTask
java.lang.Object
MatchingTask
net.sourceforge.cobertura.ant.CommonMatchingTask
- Direct Known Subclasses:
- CheckTask, InstrumentTask, MergeTask, ReportTask
public abstract class CommonMatchingTask
- extends MatchingTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
final java.lang.String className
fileSets
final java.util.List fileSets
java
private 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 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 Path createClasspath()
setClasspath
public void setClasspath(Path classpath)
setClasspathRef
public void setClasspathRef(Reference r)
getDirectoryScanner
DirectoryScanner getDirectoryScanner(AbstractFileSet fileSet)
getIncludedFiles
java.lang.String[] getIncludedFiles(AbstractFileSet fileSet)
getExcludedFiles
java.lang.String[] getExcludedFiles(FileSet fileSet)
getFilenames
java.lang.String[] getFilenames(AbstractFileSet fileSet)
baseDir
java.lang.String baseDir(AbstractFileSet fileSet)
addDirSet
public void addDirSet(DirSet dirSet)
addFileset
public void addFileset(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
-