toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SchedulingStrategy.replica:
      return 'REPLICA';
    case SchedulingStrategy.daemon:
      return 'DAEMON';
  }
}