| Modifier and Type | Class and Description |
|---|---|
| protected class | |
| private class | |
| protected class | |
| private abstract class |
| Modifier and Type | Field and Description |
|---|---|
| private final PathImpl | |
| private final ClockProvider | |
| private final ConstraintDescriptor | |
| private final Object | |
| private List | |
| private final ExpressionLanguageFeatureLevel | |
| private final ExpressionLanguageFeatureLevel | |
| private boolean | |
| private Object | |
| private Map | |
| private static final Log | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public | ConstraintValidatorContextImpl(ClockProvider clockProvider, PathImpl propertyPath, ConstraintDescriptor<?> constraintDescriptor, Object constraintValidatorPayload, ExpressionLanguageFeatureLevel defaultConstraintExpressionLanguageFeatureLevel, ExpressionLanguageFeatureLevel defaultCustomViolationExpressionLanguageFeatureLevel)
|
| Modifier and Type | Method and Description |
|---|---|
| public HibernateConstraintValidatorContext | addExpressionVariable(String
the name under which to bind the expression variable, cannot be name, Object nullthe value to be bound to the specified name value)Implements org. |
| public HibernateConstraintValidatorContext | addMessageParameter(String
the name under which to bind the parameter, cannot be name, Object nullthe value to be bound to the specified name value)Implements org. |
| public HibernateConstraintViolationBuilder | buildConstraintViolationWithTemplate(String
new un-interpolated constraint message messageTemplate)
Returns a constraint violation builder building a violation report
allowing to optionally associate it to a sub path.
|
| public final void | disableDefaultConstraintViolation()
Implements jakarta. ConstraintViolation object generation (which
is using the message template declared on the constraint).
|
| public ClockProvider | getClockProvider()
Implements jakarta. Clock,
e.g. when validating the Future and Past constraints.
|
| public final ConstraintDescriptor | |
| public <C> C | getConstraintValidatorPayload(Class<C>
the type of payload to retrieve type)
Returns an instance of the specified type or null if the current constraint validator payload isn't of
the given type.
|
| public final List | |
| protected final PathImpl | |
| public final String | |
| private ConstraintViolationCreationContext | |
| public <T> T | unwrap(Class<T>
the class of the object to be returned type)Implements jakarta. |
| public HibernateConstraintValidatorContext | withDynamicPayload(Object
an object representing additional information about the violation violationContext)Implements org. |