Class OnStateExitEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.statemachine.event.StateMachineEvent
org.springframework.statemachine.event.OnStateExitEvent
- All Implemented Interfaces:
Serializable
Generic event representing that state has been exited.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionOnStateExitEvent
(Object source, State<?, ?> state) Instantiates a new on state exit event. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
OnStateExitEvent
Instantiates a new on state exit event.- Parameters:
source
- the sourcestate
- the state
-
-
Method Details
-
getState
Gets the state.- Returns:
- the state
-
toString
- Overrides:
toString
in classStateMachineEvent
-