Uses of Interface
jakarta.validation.ConstraintViolation
-
Packages that use ConstraintViolation Package Description jakarta.validation Top level package of the Jakarta Validation API.jakarta.validation.executable Package related to the control and execution of executable validation. -
-
Uses of ConstraintViolation in jakarta.validation
Methods in jakarta.validation that return types with arguments of type ConstraintViolation Modifier and Type Method Description java.util.Set<ConstraintViolation<?>>ConstraintViolationException. getConstraintViolations()Returns the set of constraint violations reported during a validation.<T> java.util.Set<ConstraintViolation<T>>Validator. validate(T object, java.lang.Class<?>... groups)Validates all constraints onobject.<T> java.util.Set<ConstraintViolation<T>>Validator. validateProperty(T object, java.lang.String propertyName, java.lang.Class<?>... groups)Validates all constraints placed on the property ofobjectnamedpropertyName.<T> java.util.Set<ConstraintViolation<T>>Validator. validateValue(java.lang.Class<T> beanType, java.lang.String propertyName, java.lang.Object value, java.lang.Class<?>... groups)Validates all constraints placed on the property namedpropertyNameof the classbeanTypewould the property value bevalue.Constructor parameters in jakarta.validation with type arguments of type ConstraintViolation Constructor Description ConstraintViolationException(java.lang.String message, java.util.Set<? extends ConstraintViolation<?>> constraintViolations)Creates a constraint violation report.ConstraintViolationException(java.util.Set<? extends ConstraintViolation<?>> constraintViolations)Creates a constraint violation report. -
Uses of ConstraintViolation in jakarta.validation.executable
Methods in jakarta.validation.executable that return types with arguments of type ConstraintViolation Modifier and Type Method Description <T> java.util.Set<ConstraintViolation<T>>ExecutableValidator. validateConstructorParameters(java.lang.reflect.Constructor<? extends T> constructor, java.lang.Object[] parameterValues, java.lang.Class<?>... groups)Validates all constraints placed on the parameters of the given constructor.<T> java.util.Set<ConstraintViolation<T>>ExecutableValidator. validateConstructorReturnValue(java.lang.reflect.Constructor<? extends T> constructor, T createdObject, java.lang.Class<?>... groups)Validates all return value constraints of the given constructor.<T> java.util.Set<ConstraintViolation<T>>ExecutableValidator. validateParameters(T object, java.lang.reflect.Method method, java.lang.Object[] parameterValues, java.lang.Class<?>... groups)Validates all constraints placed on the parameters of the given method.<T> java.util.Set<ConstraintViolation<T>>ExecutableValidator. validateReturnValue(T object, java.lang.reflect.Method method, java.lang.Object returnValue, java.lang.Class<?>... groups)Validates all return value constraints of the given method.
-