Package org.elasticsearch.client.watcher
Enum ExecuteWatchRequest.ActionExecutionMode
- java.lang.Object
-
- java.lang.Enum<ExecuteWatchRequest.ActionExecutionMode>
-
- org.elasticsearch.client.watcher.ExecuteWatchRequest.ActionExecutionMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExecuteWatchRequest.ActionExecutionMode>
- Enclosing class:
- ExecuteWatchRequest
public static enum ExecuteWatchRequest.ActionExecutionMode extends java.lang.Enum<ExecuteWatchRequest.ActionExecutionMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTE
FORCE_EXECUTE
FORCE_SIMULATE
SIMULATE
SKIP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecuteWatchRequest.ActionExecutionMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExecuteWatchRequest.ActionExecutionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMULATE
public static final ExecuteWatchRequest.ActionExecutionMode SIMULATE
-
FORCE_SIMULATE
public static final ExecuteWatchRequest.ActionExecutionMode FORCE_SIMULATE
-
EXECUTE
public static final ExecuteWatchRequest.ActionExecutionMode EXECUTE
-
FORCE_EXECUTE
public static final ExecuteWatchRequest.ActionExecutionMode FORCE_EXECUTE
-
SKIP
public static final ExecuteWatchRequest.ActionExecutionMode SKIP
-
-
Method Detail
-
values
public static ExecuteWatchRequest.ActionExecutionMode[] 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 (ExecuteWatchRequest.ActionExecutionMode c : ExecuteWatchRequest.ActionExecutionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecuteWatchRequest.ActionExecutionMode 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
-
-