org.echarts
Class TransitionTarget

java.lang.Object
  extended by org.echarts.TransitionTarget
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BasicTransitionTarget, CompoundTransitionTarget

public abstract class TransitionTarget
extends java.lang.Object
implements java.io.Serializable

Abstract superclass representing a message(less) transition's target. A transition target encompasses its guards, its actions and its target state configurations.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
TransitionTarget(GuardMethod guardMethod)
           
 
Method Summary
protected  boolean evaluateGuard(TransitionMachine machine)
          Guard method for timed transitions and messageless transitions.
protected  boolean evaluateGuard(TransitionMachine machine, LocalPort port, java.lang.Object message)
          Guard method for anyport transitions and message transitions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

TransitionTarget

public TransitionTarget(GuardMethod guardMethod)
Method Detail

evaluateGuard

protected final boolean evaluateGuard(TransitionMachine machine)
                               throws java.lang.Exception
Guard method for timed transitions and messageless transitions.

Throws:
java.lang.Exception

evaluateGuard

protected final boolean evaluateGuard(TransitionMachine machine,
                                      LocalPort port,
                                      java.lang.Object message)
                               throws java.lang.Exception
Guard method for anyport transitions and message transitions.

Throws:
java.lang.Exception