toValue method
Implementation
String toValue() {
switch (this) {
case StreamProcessorStatus.stopped:
return 'STOPPED';
case StreamProcessorStatus.starting:
return 'STARTING';
case StreamProcessorStatus.running:
return 'RUNNING';
case StreamProcessorStatus.failed:
return 'FAILED';
case StreamProcessorStatus.stopping:
return 'STOPPING';
}
}