toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExecutionStatus.running:
      return 'RUNNING';
    case ExecutionStatus.succeeded:
      return 'SUCCEEDED';
    case ExecutionStatus.failed:
      return 'FAILED';
    case ExecutionStatus.timedOut:
      return 'TIMED_OUT';
    case ExecutionStatus.aborted:
      return 'ABORTED';
  }
}