|
|||||||||||
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 net.dpml.tools.tasks.GenericTask net.dpml.metro.tools.StateTask
Task that handles the creation of an encoded state graph.
Field Summary |
Fields inherited from class net.dpml.tools.tasks.GenericTask |
ASC_EXT, GPG_EXE_KEY, MD5_EXT |
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 | |
StateTask()
|
Method Summary | |
void |
createGraph(File file)
Create an encoded state graph. |
InterfaceDataType |
createInterface()
Add an interface within this state. |
OperationDataType |
createOperation()
Add an operation within this state. |
StateDataType |
createState()
Add a substate within the state. |
TransitionDataType |
createTransition()
Add an transition within this state. |
TriggerDataType |
createTrigger()
Add an trigger to the state. |
void |
execute()
Execute the task. |
protected File |
getDefaultOutputFile()
Create and return the part output file. |
void |
setClass(String classname)
Override the class as the colocated destination. |
void |
setDest(File file)
Override the default output destination. |
void |
setName(String name)
Set the state name. |
void |
setTerminal(boolean flag)
Mark the state as a terminal state. |
Methods inherited from class net.dpml.tools.tasks.GenericTask |
asc, checksum, copy, deleteDir, getContext, getLibrary, getResource, init, isInitialized, mkDir |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StateTask()
Method Detail |
public void setDest(File file)
file
- the overriding destinationpublic void setClass(String classname)
classname
- the classname of the target component.public void setName(String name)
name
- the cname of the statepublic void setTerminal(boolean flag)
flag
- true if this is a terminal statepublic StateDataType createState()
public OperationDataType createOperation()
public InterfaceDataType createInterface()
public TransitionDataType createTransition()
public TriggerDataType createTrigger()
public void execute()
public void createGraph(File file)
file
- the output fileprotected File getDefaultOutputFile()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |