|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.sarasvati.event.ExecutionEvent
public abstract class ExecutionEvent
Constructor Summary | |
---|---|
ExecutionEvent(Engine engine,
ExecutionEventType eventType)
|
Method Summary | |
---|---|
ArcToken |
getArcToken()
If this is an arc token related event, this returns the related arc token and null otherwise. |
Engine |
getEngine()
Returns the engine which generated this event |
ExecutionEventType |
getEventType()
Returns what type of event has occurred. |
String |
getExitArcsName()
If this is either a node token event for either ExecutionEventType.NODE_TOKEN_SKIPPED or
ExecutionEventType.NODE_TOKEN_COMPLETED , this will return the name of the arc (or arcs)
on which execution will be proceeding. |
NodeToken |
getNodeToken()
If this is a node token related event, this returns the related node token and null otherwise. |
abstract GraphProcess |
getProcess()
Returns the process the event has occurred on. |
boolean |
isArcTokenEvent()
|
boolean |
isNodeTokenEvent()
|
boolean |
isProcessEvent()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutionEvent(Engine engine, ExecutionEventType eventType)
Method Detail |
---|
public Engine getEngine()
public ExecutionEventType getEventType()
public abstract GraphProcess getProcess()
public NodeToken getNodeToken()
public ArcToken getArcToken()
public String getExitArcsName()
ExecutionEventType.NODE_TOKEN_SKIPPED
or
ExecutionEventType.NODE_TOKEN_COMPLETED
, this will return the name of the arc (or arcs)
on which execution will be proceeding.
public boolean isProcessEvent()
public boolean isNodeTokenEvent()
public boolean isArcTokenEvent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |