com.threerings.presents.tools
Class GenDObjectTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.presents.tools.GenTask
com.threerings.presents.tools.GenDObjectTask
- All Implemented Interfaces:
- Cloneable
public class GenDObjectTask
- extends GenTask
Generates necessary additional distributed object declarations and methods.
|
Field Summary |
protected Class<?> |
_doclass
DObject resolved with the proper classloader so that we
can compare it to loaded derived classes. |
protected Class<?> |
_dsclass
DSet resolved with the proper classloader so that we can
compare it to loaded derived classes. |
protected Class<?> |
_olclass
OidList resolved with the proper classloader so that we
can compare it to loaded derived classes. |
protected static String |
BASE_TMPL
Specifies the start of the path to our various templates. |
protected static String |
NAME_TMPL
Specifies the path to the name code template. |
|
Method Summary |
void |
execute()
Performs the actual work of the task. |
void |
processClass(File source,
Class<?> oclass)
Processes a resolved distributed object class instance. |
| Methods inherited from class com.threerings.presents.tools.GenTask |
addFileset, convertEols, createMap, loadClass, loadClass, mergeTemplate, mergeTemplate, setChecking, setClasspathref, setHeader, wouldProduceSameFile, writeFile, writeTemplate, writeTemplate |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
_doclass
protected Class<?> _doclass
DObject resolved with the proper classloader so that we
can compare it to loaded derived classes.
_dsclass
protected Class<?> _dsclass
DSet resolved with the proper classloader so that we can
compare it to loaded derived classes.
_olclass
protected Class<?> _olclass
OidList resolved with the proper classloader so that we
can compare it to loaded derived classes.
BASE_TMPL
protected static final String BASE_TMPL
- Specifies the start of the path to our various templates.
- See Also:
- Constant Field Values
NAME_TMPL
protected static final String NAME_TMPL
- Specifies the path to the name code template.
- See Also:
- Constant Field Values
GenDObjectTask
public GenDObjectTask()
execute
public void execute()
- Description copied from class:
GenTask
- Performs the actual work of the task.
- Overrides:
execute in class GenTask
processClass
public void processClass(File source,
Class<?> oclass)
throws Exception
- Processes a resolved distributed object class instance.
- Specified by:
processClass in class GenTask
- Throws:
Exception