toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ThresholdComparator.greaterThan:
      return 'GREATER_THAN';
    case ThresholdComparator.greaterThanOrEqualTo:
      return 'GREATER_THAN_OR_EQUAL_TO';
  }
}