toValue method
Implementation
String toValue() {
switch (this) {
case ExecutionStatus.unavailable:
return 'UNAVAILABLE';
case ExecutionStatus.available:
return 'AVAILABLE';
case ExecutionStatus.executeInProgress:
return 'EXECUTE_IN_PROGRESS';
case ExecutionStatus.executeComplete:
return 'EXECUTE_COMPLETE';
case ExecutionStatus.executeFailed:
return 'EXECUTE_FAILED';
case ExecutionStatus.obsolete:
return 'OBSOLETE';
}
}