|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.MatchingTask org.apache.commons.javaflow.ant.AntRewriteTask
public class AntRewriteTask
Ant task that enhances class files with javaflow instrumentation.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
fileset, useDefaultExcludes |
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 |
Constructor Summary | |
---|---|
AntRewriteTask()
|
Method Summary | |
---|---|
protected void |
checkParameters()
Check that all required attributes have been set and nothing silly has been entered. |
void |
execute()
|
void |
setDstDir(java.io.File pFile)
Directory to which the transformed files will be written. |
void |
setMode(java.lang.String name)
Sets the transformer to use. |
void |
setSrcDir(java.io.File pFile)
Directory from which the input files are read. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
addAnd, addContains, addCustom, addDate, addDepend, addDepth, addFilename, addMajority, addNone, addNot, addOr, addPresent, addSelector, addSize, 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 |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 |
Constructor Detail |
---|
public AntRewriteTask()
Method Detail |
---|
public void setDstDir(java.io.File pFile)
public void setSrcDir(java.io.File pFile)
MatchingTask
forms an implicit
FileSet
.
public void setMode(java.lang.String name)
This option is unpublished, because in a long run we'll likely to just focus on one transformer and get rid of the other (and this option will be removed then.)
name
- either "BCEL" or "ASM". Case insensitive.protected void checkParameters() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |