Enum Observed.State

java.lang.Object
java.lang.Enum<Observed.State>
privbot.api.Observed.State
All Implemented Interfaces:
Serializable, Comparable<Observed.State>, java.lang.constant.Constable
Enclosing class:
Observed<T>

public static enum Observed.State extends Enum<Observed.State>
Which of the three answers a read gave.
  • Enum Constant Details

    • VALUE

      public static final Observed.State VALUE
      The read succeeded and holds a value.
    • ABSENT

      public static final Observed.State ABSENT
      The read succeeded and observed that there is nothing.
    • UNREADABLE

      public static final Observed.State UNREADABLE
      The read could not be made; nothing may be concluded.
  • Method Details

    • values

      public static Observed.State[] 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 Observed.State 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