Enum Class Verb

java.lang.Object
java.lang.Enum<Verb>
org.kiwiproject.consul.model.kv.Verb
All Implemented Interfaces:
Serializable, Comparable<Verb>, Constable

public enum Verb extends Enum<Verb>
  • Enum Constant Details

    • SET

      public static final Verb SET
    • CHECK_AND_SET

      public static final Verb CHECK_AND_SET
    • LOCK

      public static final Verb LOCK
    • UNLOCK

      public static final Verb UNLOCK
    • GET

      public static final Verb GET
    • GET_TREE

      public static final Verb GET_TREE
    • CHECK_INDEX

      public static final Verb CHECK_INDEX
    • CHECK_SESSION

      public static final Verb CHECK_SESSION
    • DELETE

      public static final Verb DELETE
    • DELETE_TREE

      public static final Verb DELETE_TREE
    • DELETE_CHECK_AND_SET

      public static final Verb DELETE_CHECK_AND_SET
  • Method Details

    • values

      public static Verb[] 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 Verb 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
    • toValue

      public String toValue()