toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EngineType.activemq:
      return 'ACTIVEMQ';
    case EngineType.rabbitmq:
      return 'RABBITMQ';
  }
}