public interface Guard
Modifier and Type | Interface and Description |
---|---|
static class |
Guard.Base |
static class |
Guard.Result |
Modifier and Type | Method and Description |
---|---|
Guard.Result |
evaluate(FSM fsm,
Input in)
Called by the state engine to determine whether a
transition is enabled, defered, or disabled.
|
Guard.Result evaluate(FSM fsm, Input in)
fsm
- is the state machine causing this action.in
- is the input that caused the transition.Copyright © 2017 Oracle. All rights reserved.