toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StatusValues.inProgress:
      return 'IN_PROGRESS';
    case StatusValues.failed:
      return 'FAILED';
    case StatusValues.succeeded:
      return 'SUCCEEDED';
  }
}