S - StateE - EventT - Event TypeC - Contextpublic interface TransitionListener<S,E,T,C> extends StateMachineListener<S,E,T,C>
StateMachineBuilder.withListener(StateMachineListener).| Modifier and Type | Method and Description |
|---|---|
void |
onTransition(S from,
T eventType,
S to,
E event,
C context) |
void onTransition(S from, T eventType, S to, E event, C context)
from - The state which was just exit.eventType - The event type that issued this transition.to - The state the state machine is about to enter.event - The event that caused the traversal of this transition.context - The current context.Copyright © 2015. All rights reserved.