toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case JobType.release:
      return 'RELEASE';
    case JobType.retry:
      return 'RETRY';
    case JobType.manual:
      return 'MANUAL';
    case JobType.webHook:
      return 'WEB_HOOK';
  }
}