Class OnExtendedStateChanged
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.statemachine.event.StateMachineEvent
org.springframework.statemachine.event.OnExtendedStateChanged
- All Implemented Interfaces:
Serializable
Generic event representing that extended state variable has been changed.
- Author:
- Janne Valkealahti
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionOnExtendedStateChanged
(Object source, Object key, Object value) Instantiates a new on extended state changed. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
OnExtendedStateChanged
Instantiates a new on extended state changed.- Parameters:
source
- the sourcekey
- the keyvalue
- the value
-
-
Method Details
-
getKey
Gets the modified extended state variable key.- Returns:
- the key
-
getValue
Gets the modified extended state variable value.- Returns:
- the value
-
toString
- Overrides:
toString
in classStateMachineEvent
-