toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConfigRuleState.active:
      return 'ACTIVE';
    case ConfigRuleState.deleting:
      return 'DELETING';
    case ConfigRuleState.deletingResults:
      return 'DELETING_RESULTS';
    case ConfigRuleState.evaluating:
      return 'EVALUATING';
  }
}