public class Transition<S,T>
extends java.lang.Object
| Constructor and Description |
|---|
Transition(S source,
S destination,
T trigger)
Construct a transition
|
| Modifier and Type | Method and Description |
|---|---|
S |
getDestination()
The state transitioned to
|
S |
getSource()
The state transitioned from
|
T |
getTrigger()
The trigger that caused the transition
|
boolean |
isReentry()
True if the transition is a re-entry, i.e.
|
public S getSource()
public S getDestination()
public T getTrigger()
public boolean isReentry()
Copyright © 2014. All Rights Reserved.