toValue method
Implementation
String toValue() {
switch (this) {
case PipelineExecutionStatus.executing:
return 'Executing';
case PipelineExecutionStatus.stopping:
return 'Stopping';
case PipelineExecutionStatus.stopped:
return 'Stopped';
case PipelineExecutionStatus.failed:
return 'Failed';
case PipelineExecutionStatus.succeeded:
return 'Succeeded';
}
}