Enum FlowStatus

java.lang.Object
java.lang.Enum<FlowStatus>
org.jboss.elemento.flow.FlowStatus
All Implemented Interfaces:
Serializable, Comparable<FlowStatus>, java.lang.constant.Constable

public enum FlowStatus extends Enum<FlowStatus>
Enum for the execution status of a flow method.
  • Enum Constant Details

    • NOT_STARTED

      public static final FlowStatus NOT_STARTED
      The execution has not yet started.
    • IN_PROGRESS

      public static final FlowStatus IN_PROGRESS
      The execution is in progress.
    • SUCCESS

      public static final FlowStatus SUCCESS
      The execution was successful.
    • TIMEOUT

      public static final FlowStatus TIMEOUT
      The execution ran into a timeout.
    • FAILURE

      public static final FlowStatus FAILURE
      The execution failed.
  • Method Details

    • values

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

      public static FlowStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null