Package org.hibernate.validator.engine
Interface HibernateConstraintViolation<T>
- All Superinterfaces:
ConstraintViolation<T>
- All Known Implementing Classes:
ConstraintViolationImpl
A custom
ConstraintViolation
which allows to get additional information for a constraint violation.- Since:
- 5.3
-
Method Summary
Methods inherited from interface javax.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)
ornull
if no constraint payload if the given type has been set.
-