toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Grouping.queue:
      return 'QUEUE';
    case Grouping.channel:
      return 'CHANNEL';
  }
}