Constructor and Description |
---|
GuardNot(IGuard<StateId,Event> other)
Initialize the guard.
|
public boolean checkTransition(IState<StateId,Event> fromState, IState<StateId,Event> toState, Event event)
IGuard
checkTransition
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.