Docs: Updating execution phases of watch execution

Closes elastic/elasticsearch#4079

Original commit: elastic/x-pack-elasticsearch@658ba0a7f7
This commit is contained in:
Alexander Reelsen 2016-12-16 11:30:27 +01:00
parent b2972a142c
commit 0d9cb5f7bd
1 changed files with 8 additions and 0 deletions

View File

@ -9,13 +9,21 @@ import java.util.Locale;
public enum ExecutionPhase {
// awaiting execution of the watch
AWAITS_EXECUTION(false),
// initial phase, watch execution has started, but the input is not yet processed
STARTED(false),
// input is being executed
INPUT(false),
// condition phase is being executed
CONDITION(false),
// transform phase (optional, depends if a global transform was configured in the watch)
WATCH_TRANSFORM(false),
// actions phase, all actions, including specific action transforms
ACTIONS(false),
// missing watch, failed execution of input/condition/transform,
ABORTED(true),
// successful run
FINISHED(true);
private final boolean sealed;