Annotation Interface OnEventNotAccepted


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Inherited @Documented public @interface OnEventNotAccepted
Indicates that a method is candidate to be called when event is not accepted by a state machine.

A method annotated with @OnEventNotAccepted 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 events.
  • Element Details

    • event

      String[] event
      The events.
      Returns:
      the events
      Default:
      {}