Module org.elasticsearch.xcore
Enum Class ActionExecutionMode
java.lang.Object
java.lang.Enum<ActionExecutionMode>
org.elasticsearch.xpack.core.watcher.execution.ActionExecutionMode
- All Implemented Interfaces:
Serializable,Comparable<ActionExecutionMode>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe action will be executed and it will be throttled if needed.The action will be executed and it will not be throttled.The action will be simulated (not actually executed) and it will not be throttled.The action will be simulated (not actually executed) and it will be throttled if needed.The action will be skipped (it won't be executed nor simulated) - effectively it will be forcefully throttled -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanforce()final byteid()static ActionExecutionModeresolve(byte id) static ActionExecutionModefinal booleansimulate()static ActionExecutionModeReturns the enum constant of this class with the specified name.static ActionExecutionMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIMULATE
The action will be simulated (not actually executed) and it will be throttled if needed. -
FORCE_SIMULATE
The action will be simulated (not actually executed) and it will not be throttled. -
EXECUTE
The action will be executed and it will be throttled if needed. -
FORCE_EXECUTE
The action will be executed and it will not be throttled. -
SKIP
The action will be skipped (it won't be executed nor simulated) - effectively it will be forcefully throttled
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
id
public final byte id() -
simulate
public final boolean simulate() -
force
public final boolean force() -
resolve
-
resolve
-