Class GrantedPermissionScopeValidator

java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<GrantedPermissionScope>
co.yellowdog.platform.model.validation.GrantedPermissionScopeValidator

public class GrantedPermissionScopeValidator extends CustomValidator<GrantedPermissionScope>
  • Constructor Details

    • GrantedPermissionScopeValidator

      public GrantedPermissionScopeValidator()
  • Method Details

    • isEitherGlobalOrNamespaced

      @AssertTrue(message="must be either global or namespaced but not both") public @AssertTrue(message="must be either global or namespaced but not both") boolean isEitherGlobalOrNamespaced()