Module: CadenceThrift::EventType

Defined in:
lib/gen/thrift/shared_types.rb

Constant Summary collapse

WorkflowExecutionStarted =
0
WorkflowExecutionCompleted =
1
WorkflowExecutionFailed =
2
WorkflowExecutionTimedOut =
3
DecisionTaskScheduled =
4
DecisionTaskStarted =
5
DecisionTaskCompleted =
6
DecisionTaskTimedOut =
7
DecisionTaskFailed =
8
ActivityTaskScheduled =
9
ActivityTaskStarted =
10
ActivityTaskCompleted =
11
ActivityTaskFailed =
12
ActivityTaskTimedOut =
13
ActivityTaskCancelRequested =
14
RequestCancelActivityTaskFailed =
15
ActivityTaskCanceled =
16
TimerStarted =
17
TimerFired =
18
CancelTimerFailed =
19
TimerCanceled =
20
WorkflowExecutionCancelRequested =
21
WorkflowExecutionCanceled =
22
RequestCancelExternalWorkflowExecutionInitiated =
23
RequestCancelExternalWorkflowExecutionFailed =
24
ExternalWorkflowExecutionCancelRequested =
25
MarkerRecorded =
26
WorkflowExecutionSignaled =
27
WorkflowExecutionTerminated =
28
WorkflowExecutionContinuedAsNew =
29
StartChildWorkflowExecutionInitiated =
30
StartChildWorkflowExecutionFailed =
31
ChildWorkflowExecutionStarted =
32
ChildWorkflowExecutionCompleted =
33
ChildWorkflowExecutionFailed =
34
ChildWorkflowExecutionCanceled =
35
ChildWorkflowExecutionTimedOut =
36
ChildWorkflowExecutionTerminated =
37
SignalExternalWorkflowExecutionInitiated =
38
SignalExternalWorkflowExecutionFailed =
39
ExternalWorkflowExecutionSignaled =
40
UpsertWorkflowSearchAttributes =
41
VALUE_MAP =
{0 => "WorkflowExecutionStarted", 1 => "WorkflowExecutionCompleted", 2 => "WorkflowExecutionFailed", 3 => "WorkflowExecutionTimedOut", 4 => "DecisionTaskScheduled", 5 => "DecisionTaskStarted", 6 => "DecisionTaskCompleted", 7 => "DecisionTaskTimedOut", 8 => "DecisionTaskFailed", 9 => "ActivityTaskScheduled", 10 => "ActivityTaskStarted", 11 => "ActivityTaskCompleted", 12 => "ActivityTaskFailed", 13 => "ActivityTaskTimedOut", 14 => "ActivityTaskCancelRequested", 15 => "RequestCancelActivityTaskFailed", 16 => "ActivityTaskCanceled", 17 => "TimerStarted", 18 => "TimerFired", 19 => "CancelTimerFailed", 20 => "TimerCanceled", 21 => "WorkflowExecutionCancelRequested", 22 => "WorkflowExecutionCanceled", 23 => "RequestCancelExternalWorkflowExecutionInitiated", 24 => "RequestCancelExternalWorkflowExecutionFailed", 25 => "ExternalWorkflowExecutionCancelRequested", 26 => "MarkerRecorded", 27 => "WorkflowExecutionSignaled", 28 => "WorkflowExecutionTerminated", 29 => "WorkflowExecutionContinuedAsNew", 30 => "StartChildWorkflowExecutionInitiated", 31 => "StartChildWorkflowExecutionFailed", 32 => "ChildWorkflowExecutionStarted", 33 => "ChildWorkflowExecutionCompleted", 34 => "ChildWorkflowExecutionFailed", 35 => "ChildWorkflowExecutionCanceled", 36 => "ChildWorkflowExecutionTimedOut", 37 => "ChildWorkflowExecutionTerminated", 38 => "SignalExternalWorkflowExecutionInitiated", 39 => "SignalExternalWorkflowExecutionFailed", 40 => "ExternalWorkflowExecutionSignaled", 41 => "UpsertWorkflowSearchAttributes"}
VALID_VALUES =
Set.new([WorkflowExecutionStarted, WorkflowExecutionCompleted, WorkflowExecutionFailed, WorkflowExecutionTimedOut, DecisionTaskScheduled, DecisionTaskStarted, DecisionTaskCompleted, DecisionTaskTimedOut, DecisionTaskFailed, ActivityTaskScheduled, ActivityTaskStarted, ActivityTaskCompleted, ActivityTaskFailed, ActivityTaskTimedOut, ActivityTaskCancelRequested, RequestCancelActivityTaskFailed, ActivityTaskCanceled, TimerStarted, TimerFired, CancelTimerFailed, TimerCanceled, WorkflowExecutionCancelRequested, WorkflowExecutionCanceled, RequestCancelExternalWorkflowExecutionInitiated, RequestCancelExternalWorkflowExecutionFailed, ExternalWorkflowExecutionCancelRequested, MarkerRecorded, WorkflowExecutionSignaled, WorkflowExecutionTerminated, WorkflowExecutionContinuedAsNew, StartChildWorkflowExecutionInitiated, StartChildWorkflowExecutionFailed, ChildWorkflowExecutionStarted, ChildWorkflowExecutionCompleted, ChildWorkflowExecutionFailed, ChildWorkflowExecutionCanceled, ChildWorkflowExecutionTimedOut, ChildWorkflowExecutionTerminated, SignalExternalWorkflowExecutionInitiated, SignalExternalWorkflowExecutionFailed, ExternalWorkflowExecutionSignaled, UpsertWorkflowSearchAttributes]).freeze