Docs: Updating execution phases of watch execution
Closes elastic/elasticsearch#4079 Original commit: elastic/x-pack-elasticsearch@658ba0a7f7
This commit is contained in:
parent
b2972a142c
commit
0d9cb5f7bd
|
@ -9,13 +9,21 @@ import java.util.Locale;
|
||||||
|
|
||||||
public enum ExecutionPhase {
|
public enum ExecutionPhase {
|
||||||
|
|
||||||
|
// awaiting execution of the watch
|
||||||
AWAITS_EXECUTION(false),
|
AWAITS_EXECUTION(false),
|
||||||
|
// initial phase, watch execution has started, but the input is not yet processed
|
||||||
STARTED(false),
|
STARTED(false),
|
||||||
|
// input is being executed
|
||||||
INPUT(false),
|
INPUT(false),
|
||||||
|
// condition phase is being executed
|
||||||
CONDITION(false),
|
CONDITION(false),
|
||||||
|
// transform phase (optional, depends if a global transform was configured in the watch)
|
||||||
WATCH_TRANSFORM(false),
|
WATCH_TRANSFORM(false),
|
||||||
|
// actions phase, all actions, including specific action transforms
|
||||||
ACTIONS(false),
|
ACTIONS(false),
|
||||||
|
// missing watch, failed execution of input/condition/transform,
|
||||||
ABORTED(true),
|
ABORTED(true),
|
||||||
|
// successful run
|
||||||
FINISHED(true);
|
FINISHED(true);
|
||||||
|
|
||||||
private final boolean sealed;
|
private final boolean sealed;
|
||||||
|
|
Loading…
Reference in New Issue