Enum Class ApprovalOutcome

java.lang.Object
java.lang.Enum<ApprovalOutcome>
com.agentforge4j.testkit.assertion.ApprovalOutcome
All Implemented Interfaces:
Serializable, Comparable<ApprovalOutcome>, Constable

public enum ApprovalOutcome extends Enum<ApprovalOutcome>
The outcome of a human approval decision on a gated step.
  • Enum Constant Details

    • APPROVED

      public static final ApprovalOutcome APPROVED
      The step was approved.
    • REJECTED

      public static final ApprovalOutcome REJECTED
      The step was rejected.
  • Method Details

    • values

      public static ApprovalOutcome[] 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 ApprovalOutcome 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