public class TrashTransition<T extends Event> extends Transition<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Exception |
m_exception
If the trash transition was taken due to the occurrence of an
exception, store the exception here
|
m_action, m_guard, m_target| Constructor and Description |
|---|
TrashTransition() |
TrashTransition(java.lang.Exception e) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
afterGuard(T event,
Statechart<T> statechart)
Checks whether a transition fires, after the guard on that transition
has been evaluated.
|
Transition<T> |
clone() |
java.lang.Exception |
getException()
Gets the exception that provoked the firing of this transition
|
Configuration<T> |
getTarget()
Gets the target of this transition
|
executeAction, getAction, getGuard, hasSameParameters, matches, setAction, setGuardprotected final java.lang.Exception m_exception
public TrashTransition(java.lang.Exception e)
public TrashTransition()
public Configuration<T> getTarget()
TransitiongetTarget in class Transition<T extends Event>public Transition<T> clone()
clone in class Transition<T extends Event>protected boolean afterGuard(T event, Statechart<T> statechart)
Transitiontrue.afterGuard in class Transition<T extends Event>event - The eventstatechart - The statechart this transition belongs totrue if the transition fires, false otherwisepublic java.lang.Exception getException()
null if no exception is
associated to this transitionCopyright © Sylvain HallĂ©. All Rights Reserved.