Class OnStateMachineStart
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.statemachine.event.StateMachineEvent
org.springframework.statemachine.event.OnStateMachineStart
- All Implemented Interfaces:
Serializable
Generic event representing that state machine has been started.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionOnStateMachineStart
(Object source, StateMachine<?, ?> stateMachine) 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
-
OnStateMachineStart
Instantiates a new on state exit event.- Parameters:
source
- the sourcestateMachine
- the statemachine
-
-
Method Details
-
getStateMachine
Gets the statemachine.- Returns:
- the statemachine
-
toString
- Overrides:
toString
in classStateMachineEvent
-