Package com.orbitz.consul.model.kv
Enum Verb
- java.lang.Object
-
- java.lang.Enum<Verb>
-
- com.orbitz.consul.model.kv.Verb
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECK_AND_SETCHECK_INDEXCHECK_SESSIONDELETEDELETE_CHECK_AND_SETDELETE_TREEGETGET_TREELOCKSETUNLOCK
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static Verb[] 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 Verb valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toValue
public java.lang.String toValue()
-
-