Class OnTransitionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.statemachine.event.StateMachineEvent
org.springframework.statemachine.event.TransitionEvent
org.springframework.statemachine.event.OnTransitionEvent
- All Implemented Interfaces:
Serializable
Event representing that a
Transition has happened.- Author:
- Janne Valkealahti
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionOnTransitionEvent(Object source, Transition<?, ?> transition) Instantiates a new on transition event. -
Method Summary
Methods inherited from class org.springframework.statemachine.event.TransitionEvent
getTransitionMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
OnTransitionEvent
Instantiates a new on transition event.- Parameters:
source- the sourcetransition- the transition
-
-
Method Details
-
toString
- Overrides:
toStringin classTransitionEvent
-