toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BusinessReportStatus.running:
      return 'RUNNING';
    case BusinessReportStatus.succeeded:
      return 'SUCCEEDED';
    case BusinessReportStatus.failed:
      return 'FAILED';
  }
}