Enum Class RunOutcome

java.lang.Object
java.lang.Enum<RunOutcome>
io.jmix.dynmodelai.model.RunOutcome
All Implemented Interfaces:
EnumClass<String>, Serializable, Comparable<RunOutcome>, Constable

public enum RunOutcome extends Enum<RunOutcome> implements EnumClass<String>
  • Enum Constant Details

    • DRAFT_READY

      public static final RunOutcome DRAFT_READY
    • NEEDS_INPUT

      public static final RunOutcome NEEDS_INPUT
    • ANSWERED

      public static final RunOutcome ANSWERED
    • OUT_OF_SCOPE

      public static final RunOutcome OUT_OF_SCOPE
    • FAILED

      public static final RunOutcome FAILED
    • CANCELLED

      public static final RunOutcome CANCELLED
    • TIMED_OUT

      public static final RunOutcome TIMED_OUT
  • Method Details

    • values

      public static RunOutcome[] 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 RunOutcome 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
    • getId

      public String getId()
      Specified by:
      getId in interface EnumClass<String>
    • fromId

      public static @Nullable RunOutcome fromId(@Nullable String id)