Enum ProofState

java.lang.Object
java.lang.Enum<ProofState>
privbot.actions.confirm.ProofState
All Implemented Interfaces:
Serializable, Comparable<ProofState>, java.lang.constant.Constable

public enum ProofState extends Enum<ProofState>
A missing/stale observation is UNKNOWN, never evidence that an action succeeded.
  • Enum Constant Details

    • SATISFIED

      public static final ProofState SATISFIED
    • UNSATISFIED

      public static final ProofState UNSATISFIED
    • UNKNOWN

      public static final ProofState UNKNOWN
  • Method Details

    • values

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