Package org.hibernate.validator.engine
Interface HibernateConstraintViolation<T>
- Type Parameters:
T- The type of the root bean.
- All Superinterfaces:
ConstraintViolation<T>
A custom
ConstraintViolation which allows to get additional information for a constraint violation.- Since:
- 5.3
-
Method Summary
Methods inherited from interface jakarta.validation.ConstraintViolation
getConstraintDescriptor, getExecutableParameters, getExecutableReturnValue, getInvalidValue, getLeafBean, getMessage, getMessageTemplate, getPropertyPath, getRootBean, getRootBeanClass, unwrap
-
Method Details
-
getDynamicPayload
- Parameters:
type- The type of payload to retrieve- Returns:
- an instance of the specified type set by the user via
HibernateConstraintValidatorContext.withDynamicPayload(Object)ornullif no constraint payload if the given type has been set.
-