Class GrantedPermissionScopeValidator
java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<GrantedPermissionScope>
co.yellowdog.platform.model.validation.GrantedPermissionScopeValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@AssertTrue(message="must be either global or namespaced but not both") boolean
Methods inherited from class co.yellowdog.platform.model.beanvalidation.CustomValidator
getTarget, onSetTarget
-
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()
-