toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RetryBuildBatchType.retryAllBuilds:
      return 'RETRY_ALL_BUILDS';
    case RetryBuildBatchType.retryFailedBuilds:
      return 'RETRY_FAILED_BUILDS';
  }
}