com.threerings.presents.tools
Class InstrumentStreamableTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.threerings.presents.tools.InstrumentStreamableTask
All Implemented Interfaces:
Cloneable

public class InstrumentStreamableTask
extends org.apache.tools.ant.Task

Instruments compiled Streamable classes with public methods that can be used to stream protected and private members when running in a sandboxed JVM.


Constructor Summary
InstrumentStreamableTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds a nested <fileset> element which enumerates streamable class files.
 void addPath(org.apache.tools.ant.types.Path path)
          Adds a <path> element which defines our classpath.
 void execute()
           
 void setOutdir(File outdir)
          Configures the directory into which we write our instrumented class files.
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, 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, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentStreamableTask

public InstrumentStreamableTask()
Method Detail

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds a nested <fileset> element which enumerates streamable class files.


addPath

public void addPath(org.apache.tools.ant.types.Path path)
Adds a <path> element which defines our classpath.


setOutdir

public void setOutdir(File outdir)
Configures the directory into which we write our instrumented class files.


execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task


Copyright © 2011. All Rights Reserved.