Annotation Interface WithStateMachine


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Inherited @Documented @Component @Configuration public @interface WithStateMachine
Annotation which is marking a bean to be a candidate for participating with a state machine events.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The id of a state machine which annotated bean should be associated.
    The name of a state machine bean which annotated bean should be associated.
  • Element Details

    • name

      String name
      The name of a state machine bean which annotated bean should be associated. Defaults to stateMachine
      Returns:
      the state machine bean name
      Default:
      "stateMachine"
    • id

      String id
      The id of a state machine which annotated bean should be associated.
      Returns:
      the state machine id
      See Also:
      Default:
      ""