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

public class OnExtendedStateChanged extends StateMachineEvent
Generic event representing that extended state variable has been changed.
Author:
Janne Valkealahti
See Also:
  • Constructor Details

    • OnExtendedStateChanged

      public OnExtendedStateChanged(Object source, Object key, Object value)
      Instantiates a new on extended state changed.
      Parameters:
      source - the source
      key - the key
      value - the value
  • Method Details

    • getKey

      public Object getKey()
      Gets the modified extended state variable key.
      Returns:
      the key
    • getValue

      public Object getValue()
      Gets the modified extended state variable value.
      Returns:
      the value
    • toString

      public String toString()
      Overrides:
      toString in class StateMachineEvent