toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RuleEvaluationStatus.inProgress:
      return 'InProgress';
    case RuleEvaluationStatus.noIssuesFound:
      return 'NoIssuesFound';
    case RuleEvaluationStatus.issuesFound:
      return 'IssuesFound';
    case RuleEvaluationStatus.error:
      return 'Error';
    case RuleEvaluationStatus.stopping:
      return 'Stopping';
    case RuleEvaluationStatus.stopped:
      return 'Stopped';
  }
}