Enum Class TransitionKind

java.lang.Object
java.lang.Enum<TransitionKind>
org.springframework.statemachine.transition.TransitionKind
All Implemented Interfaces:
Serializable, Comparable<TransitionKind>, Constable

public enum TransitionKind extends Enum<TransitionKind>
Defines enumeration of a Transition kind. This is uses within a transition to indicate whether its type is external, internal or local.
  • Enum Constant Details

    • EXTERNAL

      public static final TransitionKind EXTERNAL
      Indicates an external transition kind.
    • INTERNAL

      public static final TransitionKind INTERNAL
      Indicates an internal transition kind.
    • LOCAL

      public static final TransitionKind LOCAL
      Indicates a local transition kind.
    • INITIAL

      public static final TransitionKind INITIAL
      Indicates an initial transition kind.
  • Method Details

    • values

      public static TransitionKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TransitionKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null