Annotation Interface EnableStateMachine


Annotation which imports @Configurations related to building state machines.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Defines if application context events for a state machine are enable or not.
    The name of bean, or if plural, aliases for bean created based on this annotation.
  • Element Details

    • name

      String[] name
      The name of bean, or if plural, aliases for bean created based on this annotation. If left unspecified bean name will be autogenerated.
      Returns:
      the array if names or empty as default
      See Also:
      • Bean.name()
      Default:
      {"stateMachine"}
    • contextEvents

      boolean contextEvents
      Defines if application context events for a state machine are enable or not. On default events are enabled.
      Returns:
      true, if events are enabled.
      Default:
      true