Uses of Interface
jakarta.validation.ConstraintViolation
Packages that use ConstraintViolation
Package
Description
Top level package of the Jakarta Bean Validation API.
Package related to the control and execution of executable validation.
Implementations for the core interfaces of Jakarta Bean Validation.
Contains various implementation of validation contexts and supporting classes.
-
Uses of ConstraintViolation in jakarta.validation
Methods in jakarta.validation that return types with arguments of type ConstraintViolationModifier and TypeMethodDescriptionConstraintViolationException.getConstraintViolations()Returns the set of constraint violations reported during a validation.<T> Set<ConstraintViolation<T>>Validates all constraints onobject.<T> Set<ConstraintViolation<T>>Validator.validateProperty(T object, String propertyName, Class<?>... groups) Validates all constraints placed on the property ofobjectnamedpropertyName.<T> Set<ConstraintViolation<T>>Validator.validateValue(Class<T> beanType, String propertyName, Object value, 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 ConstraintViolationModifierConstructorDescriptionConstraintViolationException(String message, Set<? extends ConstraintViolation<?>> constraintViolations) Creates a constraint violation report.ConstraintViolationException(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 ConstraintViolationModifier and TypeMethodDescription<T> Set<ConstraintViolation<T>>ExecutableValidator.validateConstructorParameters(Constructor<? extends T> constructor, Object[] parameterValues, Class<?>... groups) Validates all constraints placed on the parameters of the given constructor.<T> Set<ConstraintViolation<T>>ExecutableValidator.validateConstructorReturnValue(Constructor<? extends T> constructor, T createdObject, Class<?>... groups) Validates all return value constraints of the given constructor.<T> Set<ConstraintViolation<T>>ExecutableValidator.validateParameters(T object, Method method, Object[] parameterValues, Class<?>... groups) Validates all constraints placed on the parameters of the given method.<T> Set<ConstraintViolation<T>>ExecutableValidator.validateReturnValue(T object, Method method, Object returnValue, Class<?>... groups) Validates all return value constraints of the given method. -
Uses of ConstraintViolation in org.apache.cxf.validation
Constructor parameters in org.apache.cxf.validation with type arguments of type ConstraintViolationModifierConstructorDescriptionResponseConstraintViolationException(Set<? extends ConstraintViolation<?>> constraintViolations) -
Uses of ConstraintViolation in org.hibernate.validator.engine
Subinterfaces of ConstraintViolation in org.hibernate.validator.engineModifier and TypeInterfaceDescriptioninterfaceA customConstraintViolationwhich allows to get additional information for a constraint violation. -
Uses of ConstraintViolation in org.hibernate.validator.internal.engine
Classes in org.hibernate.validator.internal.engine that implement ConstraintViolationMethods in org.hibernate.validator.internal.engine that return ConstraintViolationModifier and TypeMethodDescriptionstatic <T> ConstraintViolation<T>ConstraintViolationImpl.forBeanValidation(String messageTemplate, Map<String, Object> messageParameters, Map<String, Object> expressionVariables, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, Object dynamicPayload) static <T> ConstraintViolation<T>ConstraintViolationImpl.forParameterValidation(String messageTemplate, Map<String, Object> messageParameters, Map<String, Object> expressionVariables, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, Object[] executableParameters, Object dynamicPayload) static <T> ConstraintViolation<T>ConstraintViolationImpl.forReturnValueValidation(String messageTemplate, Map<String, Object> messageParameters, Map<String, Object> expressionVariables, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, Object executableReturnValue, Object dynamicPayload) Methods in org.hibernate.validator.internal.engine that return types with arguments of type ConstraintViolationModifier and TypeMethodDescriptionfinal <T> Set<ConstraintViolation<T>><T> Set<ConstraintViolation<T>>ValidatorImpl.validateConstructorParameters(Constructor<? extends T> constructor, Object[] parameterValues, Class<?>... groups) <T> Set<ConstraintViolation<T>>ValidatorImpl.validateConstructorReturnValue(Constructor<? extends T> constructor, T createdObject, Class<?>... groups) <T> Set<ConstraintViolation<T>>ValidatorImpl.validateParameters(T object, Method method, Object[] parameterValues, Class<?>... groups) final <T> Set<ConstraintViolation<T>>ValidatorImpl.validateProperty(T object, String propertyName, Class<?>... groups) <T> Set<ConstraintViolation<T>>ValidatorImpl.validateReturnValue(T object, Method method, Object returnValue, Class<?>... groups) final <T> Set<ConstraintViolation<T>>ValidatorImpl.validateValue(Class<T> beanType, String propertyName, Object value, Class<?>... groups) -
Uses of ConstraintViolation in org.hibernate.validator.internal.engine.validationcontext
Methods in org.hibernate.validator.internal.engine.validationcontext that return ConstraintViolationModifier and TypeMethodDescriptionprotected ConstraintViolation<T>ParameterExecutableValidationContext.createConstraintViolation(String messageTemplate, String interpolatedMessage, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, ValueContext<?, ?> valueContext, ConstraintViolationCreationContext constraintViolationCreationContext) protected ConstraintViolation<T>ReturnValueExecutableValidationContext.createConstraintViolation(String messageTemplate, String interpolatedMessage, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, ValueContext<?, ?> valueContext, ConstraintViolationCreationContext constraintViolationCreationContext) Methods in org.hibernate.validator.internal.engine.validationcontext that return types with arguments of type ConstraintViolation -
Uses of ConstraintViolation in org.jboss.resteasy.api.validation
Methods in org.jboss.resteasy.api.validation that return types with arguments of type ConstraintViolationMethods in org.jboss.resteasy.api.validation with parameters of type ConstraintViolationModifier and TypeMethodDescriptionprotected ResteasyConstraintViolationResteasyViolationException.convertViolation(ConstraintViolation<?> violation) Method parameters in org.jboss.resteasy.api.validation with type arguments of type ConstraintViolationModifier and TypeMethodDescriptionvoidSimpleViolationsContainer.addViolations(Set<ConstraintViolation<Object>> cvs) Constructor parameters in org.jboss.resteasy.api.validation with type arguments of type ConstraintViolationModifierConstructorDescriptionResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations) New constructorResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept) New constructor -
Uses of ConstraintViolation in org.jboss.resteasy.plugins.validation
Method parameters in org.jboss.resteasy.plugins.validation with type arguments of type ConstraintViolationModifier and TypeMethodDescriptionvoidSimpleViolationsContainer.addViolations(Set<ConstraintViolation<Object>> cvs) If some ConstraintViolations are created by Resteasy and some are created by CDI, two essentially identical ones might appear to be different.Constructor parameters in org.jboss.resteasy.plugins.validation with type arguments of type ConstraintViolationModifierConstructorDescriptionResteasyViolationExceptionImpl(Set<? extends ConstraintViolation<?>> constraintViolations) ResteasyViolationExceptionImpl(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept) New constructor