Enum Class ActionExecutionMode
- All Implemented Interfaces:
JsonEnum
,JsonpSerializable
,Serializable
,Comparable<ActionExecutionMode>
,Constable
@JsonpDeserializable
public enum ActionExecutionMode
extends Enum<ActionExecutionMode>
implements JsonEnum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum>
-
Enum Constant Summary
Enum ConstantDescriptionExecutes the action as it would have been executed if the watch had been triggered by its own trigger.Similar to theexecute
mode, except the action is not throttled even if the current state of the watch indicates it should be.Similar to thesimulate
mode, except the action is not throttled even if the current state of the watch indicates it should be.The action execution is simulated.The action is skipped and is not executed or simulated. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActionExecutionMode
Returns 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 execution is simulated. Each action type defines its own simulation operation mode. For example, the email action creates the email that would have been sent but does not actually send it. In this mode, the action might be throttled if the current state of the watch indicates it should be. -
ForceSimulate
Similar to thesimulate
mode, except the action is not throttled even if the current state of the watch indicates it should be. -
Execute
Executes the action as it would have been executed if the watch had been triggered by its own trigger. The execution might be throttled if the current state of the watch indicates it should be. -
ForceExecute
Similar to theexecute
mode, except the action is not throttled even if the current state of the watch indicates it should be. -
Skip
The action is skipped and is not executed or simulated. Effectively forces the action to be throttled.
-
-
Field Details
-
_DESERIALIZER
-
-
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
-
jsonValue
-