toValue method
Implementation
String toValue() {
switch (this) {
case ContinueAsNewWorkflowExecutionFailedCause.unhandledDecision:
return 'UNHANDLED_DECISION';
case ContinueAsNewWorkflowExecutionFailedCause.workflowTypeDeprecated:
return 'WORKFLOW_TYPE_DEPRECATED';
case ContinueAsNewWorkflowExecutionFailedCause.workflowTypeDoesNotExist:
return 'WORKFLOW_TYPE_DOES_NOT_EXIST';
case ContinueAsNewWorkflowExecutionFailedCause
.defaultExecutionStartToCloseTimeoutUndefined:
return 'DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED';
case ContinueAsNewWorkflowExecutionFailedCause
.defaultTaskStartToCloseTimeoutUndefined:
return 'DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED';
case ContinueAsNewWorkflowExecutionFailedCause.defaultTaskListUndefined:
return 'DEFAULT_TASK_LIST_UNDEFINED';
case ContinueAsNewWorkflowExecutionFailedCause
.defaultChildPolicyUndefined:
return 'DEFAULT_CHILD_POLICY_UNDEFINED';
case ContinueAsNewWorkflowExecutionFailedCause
.continueAsNewWorkflowExecutionRateExceeded:
return 'CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED';
case ContinueAsNewWorkflowExecutionFailedCause.operationNotPermitted:
return 'OPERATION_NOT_PERMITTED';
}
}