toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AccessMethodType.caRepository:
      return 'CA_REPOSITORY';
    case AccessMethodType.resourcePkiManifest:
      return 'RESOURCE_PKI_MANIFEST';
    case AccessMethodType.resourcePkiNotify:
      return 'RESOURCE_PKI_NOTIFY';
  }
}