Class GrantedPermissionScopeValidator
java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<GrantedPermissionScope>
co.yellowdog.platform.model.validation.customvalidators.GrantedPermissionScopeValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@AssertTrue(message="must be either global or namespaced but not both") booleanMethods inherited from class CustomValidator
getTarget, onSetTargetModifier and TypeMethodDescriptionprotected GrantedPermissionScopeprotected voidOptional method that can be overridden to perform initialisation or setup when the validator is being prepared to validate a particular target instance.
-
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()
-