Enum Class HumanConfirmation.Status

java.lang.Object
java.lang.Enum<HumanConfirmation.Status>
com.eqixiac.equinix.mcp.server.HumanConfirmation.Status
All Implemented Interfaces:
Serializable, Comparable<HumanConfirmation.Status>, Constable
Enclosing class:
HumanConfirmation

public static enum HumanConfirmation.Status extends Enum<HumanConfirmation.Status>
What the client reported for one confirmation prompt.
  • Enum Constant Details

    • ACCEPTED

      public static final HumanConfirmation.Status ACCEPTED
      accept with confirm = true.
    • DECLINED

      public static final HumanConfirmation.Status DECLINED
      decline, or accept without confirm = true.
    • CANCELLED

      public static final HumanConfirmation.Status CANCELLED
      cancel: the prompt was dismissed without a decision.
    • TIMED_OUT

      public static final HumanConfirmation.Status TIMED_OUT
      No answer within the elicitation timeout.
    • FAILED

      public static final HumanConfirmation.Status FAILED
      The round trip threw, was interrupted, or returned no result.
    • CALL_CANCELLED

      public static final HumanConfirmation.Status CALL_CANCELLED
      The client cancelled the tool call while the prompt was open; the prompt was abandoned.
    • UNSUPPORTED_BY_CLIENT

      public static final HumanConfirmation.Status UNSUPPORTED_BY_CLIENT
      The client cannot service a form elicitation; nothing was sent.
  • Method Details

    • values

      public static HumanConfirmation.Status[] 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 HumanConfirmation.Status 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
    • id

      public String id()
      Returns:
      the lower-case payload spelling, for example unsupported_by_client