Class OrderStateMachineListener
java.lang.Object
org.springframework.statemachine.listener.StateMachineListenerAdapter<OrderStates,OrderEvents>
cn.net.pap.statemachine.listeners.OrderStateMachineListener
- All Implemented Interfaces:
org.springframework.statemachine.listener.StateMachineListener<OrderStates,
OrderEvents>
public class OrderStateMachineListener
extends org.springframework.statemachine.listener.StateMachineListenerAdapter<OrderStates,OrderEvents>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
stateChanged
(org.springframework.statemachine.state.State<OrderStates, OrderEvents> from, org.springframework.statemachine.state.State<OrderStates, OrderEvents> to) Methods inherited from class org.springframework.statemachine.listener.StateMachineListenerAdapter
eventNotAccepted, extendedStateChanged, stateContext, stateEntered, stateExited, stateMachineError, stateMachineStarted, stateMachineStopped, transition, transitionEnded, transitionStarted
-
Constructor Details
-
OrderStateMachineListener
public OrderStateMachineListener()
-
-
Method Details
-
stateChanged
public void stateChanged(org.springframework.statemachine.state.State<OrderStates, OrderEvents> from, org.springframework.statemachine.state.State<OrderStates, OrderEvents> to) - Specified by:
stateChanged
in interfaceorg.springframework.statemachine.listener.StateMachineListener<OrderStates,
OrderEvents> - Overrides:
stateChanged
in classorg.springframework.statemachine.listener.StateMachineListenerAdapter<OrderStates,
OrderEvents>
-