toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ThresholdType.percentage:
      return 'PERCENTAGE';
    case ThresholdType.absoluteValue:
      return 'ABSOLUTE_VALUE';
  }
}