toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case JobExecutionFailureType.failed:
      return 'FAILED';
    case JobExecutionFailureType.rejected:
      return 'REJECTED';
    case JobExecutionFailureType.timedOut:
      return 'TIMED_OUT';
    case JobExecutionFailureType.all:
      return 'ALL';
  }
}