Annotation Interface OnExtendedStateChanged


@Target(METHOD) @Retention(RUNTIME) @Inherited @Documented public @interface OnExtendedStateChanged
Indicates that a method is candidate to be called when ExtendedState is changed.

A method annotated with @OnExtendedStateChanged may accept a parameter of type ExtendedState, Map if map argument itself is annotated with EventHeaders, StateMachine, Message or Exception.

Return value can be anything and is effectively discarded.

Author:
Janne Valkealahti
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The extended state variable keys.
  • Element Details

    • key

      String[] key
      The extended state variable keys.
      Returns:
      The extended state variable keys
      Default:
      {}