toValue method
Implementation
String toValue() {
switch (this) {
case BuildPhaseType.submitted:
return 'SUBMITTED';
case BuildPhaseType.queued:
return 'QUEUED';
case BuildPhaseType.provisioning:
return 'PROVISIONING';
case BuildPhaseType.downloadSource:
return 'DOWNLOAD_SOURCE';
case BuildPhaseType.install:
return 'INSTALL';
case BuildPhaseType.preBuild:
return 'PRE_BUILD';
case BuildPhaseType.build:
return 'BUILD';
case BuildPhaseType.postBuild:
return 'POST_BUILD';
case BuildPhaseType.uploadArtifacts:
return 'UPLOAD_ARTIFACTS';
case BuildPhaseType.finalizing:
return 'FINALIZING';
case BuildPhaseType.completed:
return 'COMPLETED';
}
}