toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ArtifactStatus.approved:
      return 'APPROVED';
    case ArtifactStatus.rejected:
      return 'REJECTED';
    case ArtifactStatus.inProgress:
      return 'IN_PROGRESS';
  }
}