toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ComplianceStatus.compliant:
      return 'COMPLIANT';
    case ComplianceStatus.nonCompliant:
      return 'NON_COMPLIANT';
  }
}