toValue method
Implementation
String toValue() {
switch (this) {
case BuildBatchPhaseType.submitted:
return 'SUBMITTED';
case BuildBatchPhaseType.downloadBatchspec:
return 'DOWNLOAD_BATCHSPEC';
case BuildBatchPhaseType.inProgress:
return 'IN_PROGRESS';
case BuildBatchPhaseType.combineArtifacts:
return 'COMBINE_ARTIFACTS';
case BuildBatchPhaseType.succeeded:
return 'SUCCEEDED';
case BuildBatchPhaseType.failed:
return 'FAILED';
case BuildBatchPhaseType.stopped:
return 'STOPPED';
}
}