toValue method
Implementation
String toValue() {
switch (this) {
case EventType.workflowExecutionStarted:
return 'WorkflowExecutionStarted';
case EventType.workflowExecutionCancelRequested:
return 'WorkflowExecutionCancelRequested';
case EventType.workflowExecutionCompleted:
return 'WorkflowExecutionCompleted';
case EventType.completeWorkflowExecutionFailed:
return 'CompleteWorkflowExecutionFailed';
case EventType.workflowExecutionFailed:
return 'WorkflowExecutionFailed';
case EventType.failWorkflowExecutionFailed:
return 'FailWorkflowExecutionFailed';
case EventType.workflowExecutionTimedOut:
return 'WorkflowExecutionTimedOut';
case EventType.workflowExecutionCanceled:
return 'WorkflowExecutionCanceled';
case EventType.cancelWorkflowExecutionFailed:
return 'CancelWorkflowExecutionFailed';
case EventType.workflowExecutionContinuedAsNew:
return 'WorkflowExecutionContinuedAsNew';
case EventType.continueAsNewWorkflowExecutionFailed:
return 'ContinueAsNewWorkflowExecutionFailed';
case EventType.workflowExecutionTerminated:
return 'WorkflowExecutionTerminated';
case EventType.decisionTaskScheduled:
return 'DecisionTaskScheduled';
case EventType.decisionTaskStarted:
return 'DecisionTaskStarted';
case EventType.decisionTaskCompleted:
return 'DecisionTaskCompleted';
case EventType.decisionTaskTimedOut:
return 'DecisionTaskTimedOut';
case EventType.activityTaskScheduled:
return 'ActivityTaskScheduled';
case EventType.scheduleActivityTaskFailed:
return 'ScheduleActivityTaskFailed';
case EventType.activityTaskStarted:
return 'ActivityTaskStarted';
case EventType.activityTaskCompleted:
return 'ActivityTaskCompleted';
case EventType.activityTaskFailed:
return 'ActivityTaskFailed';
case EventType.activityTaskTimedOut:
return 'ActivityTaskTimedOut';
case EventType.activityTaskCanceled:
return 'ActivityTaskCanceled';
case EventType.activityTaskCancelRequested:
return 'ActivityTaskCancelRequested';
case EventType.requestCancelActivityTaskFailed:
return 'RequestCancelActivityTaskFailed';
case EventType.workflowExecutionSignaled:
return 'WorkflowExecutionSignaled';
case EventType.markerRecorded:
return 'MarkerRecorded';
case EventType.recordMarkerFailed:
return 'RecordMarkerFailed';
case EventType.timerStarted:
return 'TimerStarted';
case EventType.startTimerFailed:
return 'StartTimerFailed';
case EventType.timerFired:
return 'TimerFired';
case EventType.timerCanceled:
return 'TimerCanceled';
case EventType.cancelTimerFailed:
return 'CancelTimerFailed';
case EventType.startChildWorkflowExecutionInitiated:
return 'StartChildWorkflowExecutionInitiated';
case EventType.startChildWorkflowExecutionFailed:
return 'StartChildWorkflowExecutionFailed';
case EventType.childWorkflowExecutionStarted:
return 'ChildWorkflowExecutionStarted';
case EventType.childWorkflowExecutionCompleted:
return 'ChildWorkflowExecutionCompleted';
case EventType.childWorkflowExecutionFailed:
return 'ChildWorkflowExecutionFailed';
case EventType.childWorkflowExecutionTimedOut:
return 'ChildWorkflowExecutionTimedOut';
case EventType.childWorkflowExecutionCanceled:
return 'ChildWorkflowExecutionCanceled';
case EventType.childWorkflowExecutionTerminated:
return 'ChildWorkflowExecutionTerminated';
case EventType.signalExternalWorkflowExecutionInitiated:
return 'SignalExternalWorkflowExecutionInitiated';
case EventType.signalExternalWorkflowExecutionFailed:
return 'SignalExternalWorkflowExecutionFailed';
case EventType.externalWorkflowExecutionSignaled:
return 'ExternalWorkflowExecutionSignaled';
case EventType.requestCancelExternalWorkflowExecutionInitiated:
return 'RequestCancelExternalWorkflowExecutionInitiated';
case EventType.requestCancelExternalWorkflowExecutionFailed:
return 'RequestCancelExternalWorkflowExecutionFailed';
case EventType.externalWorkflowExecutionCancelRequested:
return 'ExternalWorkflowExecutionCancelRequested';
case EventType.lambdaFunctionScheduled:
return 'LambdaFunctionScheduled';
case EventType.lambdaFunctionStarted:
return 'LambdaFunctionStarted';
case EventType.lambdaFunctionCompleted:
return 'LambdaFunctionCompleted';
case EventType.lambdaFunctionFailed:
return 'LambdaFunctionFailed';
case EventType.lambdaFunctionTimedOut:
return 'LambdaFunctionTimedOut';
case EventType.scheduleLambdaFunctionFailed:
return 'ScheduleLambdaFunctionFailed';
case EventType.startLambdaFunctionFailed:
return 'StartLambdaFunctionFailed';
}
}