events property

Map<Logic, StateIdentifier> events
final

A map of the possible conditions that might be true and the next state that the FSM needs to transition to in each of those cases.

If no key in events matches, then the state of the FiniteStateMachine will stay the same.

If using ConditionalType.priority, this should be an ordered Map.

Implementation

final Map<Logic, StateIdentifier> events;