Package | Description |
---|---|
org.hibernate.validator.constraintvalidation |
Custom Hibernate Validator specific constraint validation extension classes.
|
org.hibernate.validator.internal.engine.constraintvalidation |
Classes dealing with the representation of constraints and the management/instantitation of constraint
validators.
|
Modifier and Type | Method and Description |
---|---|
HibernateConstraintValidatorContext |
HibernateConstraintValidatorContext.addExpressionVariable(java.lang.String name,
java.lang.Object value)
Allows to set an additional expression variable which will be available as an EL variable during interpolation.
|
HibernateConstraintValidatorContext |
HibernateConstraintValidatorContext.addMessageParameter(java.lang.String name,
java.lang.Object value)
Allows to set an additional named parameter which can be interpolated in the constraint violation message.
|
HibernateConstraintValidatorContext |
HibernateConstraintValidatorContext.withDynamicPayload(java.lang.Object payload)
Allows to set an object that may further describe the violation.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstraintValidatorContextImpl |
Modifier and Type | Method and Description |
---|---|
HibernateConstraintValidatorContext |
ConstraintValidatorContextImpl.addExpressionVariable(java.lang.String name,
java.lang.Object value) |
HibernateConstraintValidatorContext |
ConstraintValidatorContextImpl.addMessageParameter(java.lang.String name,
java.lang.Object value) |
HibernateConstraintValidatorContext |
ConstraintValidatorContextImpl.withDynamicPayload(java.lang.Object violationContext) |
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved