toValue method
Implementation
String toValue() {
switch (this) {
case CompilationJobStatus.inprogress:
return 'INPROGRESS';
case CompilationJobStatus.completed:
return 'COMPLETED';
case CompilationJobStatus.failed:
return 'FAILED';
case CompilationJobStatus.starting:
return 'STARTING';
case CompilationJobStatus.stopping:
return 'STOPPING';
case CompilationJobStatus.stopped:
return 'STOPPED';
}
}