toValue method
Implementation
String toValue() {
switch (this) {
case MetricsLevel.application:
return 'APPLICATION';
case MetricsLevel.task:
return 'TASK';
case MetricsLevel.operator:
return 'OPERATOR';
case MetricsLevel.parallelism:
return 'PARALLELISM';
}
}