org.apache.commons.javaflow.ant
Class AntRewriteTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.MatchingTask
              extended byorg.apache.commons.javaflow.ant.AntRewriteTask
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class AntRewriteTask
extends org.apache.tools.ant.taskdefs.MatchingTask

Ant task that enhances class files with javaflow instrumentation.


Field Summary
 
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
 
Constructor Summary
AntRewriteTask()
           
 
Method Summary
protected  void checkParameters()
          Check that all required attributes have been set and nothing silly has been entered.
 void execute()
           
 java.io.File getDestDir()
           
 void setDestDir(java.io.File file)
           
 void setSrcDir(java.io.File file)
           
 
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
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
 

Constructor Detail

AntRewriteTask

public AntRewriteTask()
Method Detail

setDestDir

public void setDestDir(java.io.File file)

getDestDir

public java.io.File getDestDir()

setSrcDir

public void setSrcDir(java.io.File file)

checkParameters

protected void checkParameters()
                        throws org.apache.tools.ant.BuildException
Check that all required attributes have been set and nothing silly has been entered.

Throws:
org.apache.tools.ant.BuildException
Since:
Ant 1.5

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.