Annotation Interface OnTransitionStart


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Inherited @Documented public @interface OnTransitionStart
Indicates that a method is candidate to be called with a Transition.

A method annotated with @OnTransitionStart 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 source states.
    The target states.
  • Element Details

    • source

      String[] source
      The source states.
      Returns:
      the source states.
      Default:
      {}
    • target

      String[] target
      The target states.
      Returns:
      the target states.
      Default:
      {}