@FunctionalInterface public interface Guard<E,C extends Context,D extends Data>
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(E event,
C context,
D data)
Evaluates this predicate on the given arguments.
|
boolean test(E event, C context, D data)
event - the incoming event that triggers this guard associated with a particular FSM.context - the Context associated with the FSM for which this Guard is associated with.data - the Data bag associated with the FSM for which this Guard is associated with.true if the input arguments matches the predicate,
otherwise falseCopyright © 2019. All rights reserved.