Package org.elasticsearch.client.watcher
Enum ActionStatus.AckStatus.State
- java.lang.Object
-
- java.lang.Enum<ActionStatus.AckStatus.State>
-
- org.elasticsearch.client.watcher.ActionStatus.AckStatus.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ActionStatus.AckStatus.State>
- Enclosing class:
- ActionStatus.AckStatus
public static enum ActionStatus.AckStatus.State extends java.lang.Enum<ActionStatus.AckStatus.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACKABLE
ACKED
AWAITS_SUCCESSFUL_EXECUTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActionStatus.AckStatus.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActionStatus.AckStatus.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AWAITS_SUCCESSFUL_EXECUTION
public static final ActionStatus.AckStatus.State AWAITS_SUCCESSFUL_EXECUTION
-
ACKABLE
public static final ActionStatus.AckStatus.State ACKABLE
-
ACKED
public static final ActionStatus.AckStatus.State ACKED
-
-
Method Detail
-
values
public static ActionStatus.AckStatus.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ActionStatus.AckStatus.State c : ActionStatus.AckStatus.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionStatus.AckStatus.State 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
-
-