toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AccessControlRuleEffect.allow:
      return 'ALLOW';
    case AccessControlRuleEffect.deny:
      return 'DENY';
  }
}