| Constructor and Description |
|---|
GuardOr(IGuard<StateId,Event> left,
IGuard<StateId,Event> right)
Initialize the guard.
|
public boolean checkTransition(IState<StateId,Event> fromState, IState<StateId,Event> toState, Event event)
IGuardcheckTransition in interface IGuard<StateId,Event>fromState - The initial state of the transition. In case of an
internal transition, it is the state in which the transition happens.toState - The final state of the transition. In case of an
internal transition, its value is null.event - The event triggering the transition.