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