Package | Description |
---|---|
org.hibernate.validator |
Bootstrap classes HibernateValidator and HibernateValidatorConfiguration which uniquely identify Hibernate Validator
and allow to configure it.
|
org.hibernate.validator.constraintvalidation |
Custom Hibernate Validator specific constraint validation extension classes.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of Jakarta Bean Validation.
|
org.hibernate.validator.internal.engine.constraintvalidation |
Classes dealing with the representation of constraints and the management/instantitation of constraint
validators.
|
org.hibernate.validator.internal.engine.validationcontext |
Contains various implementation of validation contexts and supporting classes.
|
org.hibernate.validator.internal.util.logging |
Logging classes.
|
org.hibernate.validator.messageinterpolation |
Implementations of the MessageInterpolator interface in particular ResourceBundleMessageInterpolator which can be
used by custom implementations of the interface for delegation.
|
Modifier and Type | Method and Description |
---|---|
S |
BaseHibernateValidatorConfiguration.constraintExpressionLanguageFeatureLevel(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel)
Allows setting the Expression Language feature level for message interpolation of constraint messages.
|
S |
BaseHibernateValidatorConfiguration.customViolationExpressionLanguageFeatureLevel(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel)
Allows setting the Expression Language feature level for message interpolation of custom violation messages.
|
Modifier and Type | Method and Description |
---|---|
HibernateConstraintViolationBuilder |
HibernateConstraintViolationBuilder.enableExpressionLanguage(ExpressionLanguageFeatureLevel level)
Enable Expression Language for the constraint violation created by this builder if the chosen
MessageInterpolator supports it. |
Modifier and Type | Method and Description |
---|---|
ExpressionLanguageFeatureLevel |
ValidatorFactoryScopedContext.getConstraintExpressionLanguageFeatureLevel() |
ExpressionLanguageFeatureLevel |
AbstractConfigurationImpl.getConstraintExpressionLanguageFeatureLevel() |
ExpressionLanguageFeatureLevel |
ValidatorFactoryScopedContext.getCustomViolationExpressionLanguageFeatureLevel() |
ExpressionLanguageFeatureLevel |
AbstractConfigurationImpl.getCustomViolationExpressionLanguageFeatureLevel() |
ExpressionLanguageFeatureLevel |
MessageInterpolatorContext.getExpressionLanguageFeatureLevel() |
Modifier and Type | Method and Description |
---|---|
T |
AbstractConfigurationImpl.constraintExpressionLanguageFeatureLevel(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel) |
T |
AbstractConfigurationImpl.customViolationExpressionLanguageFeatureLevel(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel) |
Constructor and Description |
---|
MessageInterpolatorContext(ConstraintDescriptor<?> constraintDescriptor,
Object validatedValue,
Class<?> rootBeanType,
Path propertyPath,
Map<String,Object> messageParameters,
Map<String,Object> expressionVariables,
ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel,
boolean customViolation) |
Modifier and Type | Method and Description |
---|---|
ExpressionLanguageFeatureLevel |
ConstraintViolationCreationContext.getExpressionLanguageFeatureLevel() |
Modifier and Type | Method and Description |
---|---|
HibernateConstraintViolationBuilder |
ConstraintValidatorContextImpl.ConstraintViolationBuilderImpl.enableExpressionLanguage(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel) |
Constructor and Description |
---|
ConstraintValidatorContextImpl(ClockProvider clockProvider,
PathImpl propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
Object constraintValidatorPayload,
ExpressionLanguageFeatureLevel defaultConstraintExpressionLanguageFeatureLevel,
ExpressionLanguageFeatureLevel defaultCustomViolationExpressionLanguageFeatureLevel) |
ConstraintViolationCreationContext(String message,
ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel,
boolean customViolation,
PathImpl property,
Map<String,Object> messageParameters,
Map<String,Object> expressionVariables,
Object dynamicPayload) |
CrossParameterConstraintValidatorContextImpl(List<String> methodParameterNames,
ClockProvider clockProvider,
PathImpl propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
Object constraintValidatorPayload,
ExpressionLanguageFeatureLevel constraintExpressionLanguageFeatureLevel,
ExpressionLanguageFeatureLevel customViolationExpressionLanguageFeatureLevel) |
Modifier and Type | Method and Description |
---|---|
ExpressionLanguageFeatureLevel |
ValidatorScopedContext.getConstraintExpressionLanguageFeatureLevel() |
ExpressionLanguageFeatureLevel |
ValidatorScopedContext.getCustomViolationExpressionLanguageFeatureLevel() |
Modifier and Type | Method and Description |
---|---|
void |
Log.logConstraintExpressionLanguageFeatureLevel(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel) |
void |
Log.logCustomViolationExpressionLanguageFeatureLevel(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel) |
Modifier and Type | Method and Description |
---|---|
ExpressionLanguageFeatureLevel |
HibernateMessageInterpolatorContext.getExpressionLanguageFeatureLevel() |
static ExpressionLanguageFeatureLevel |
ExpressionLanguageFeatureLevel.interpretDefaultForConstraints(ExpressionLanguageFeatureLevel value) |
static ExpressionLanguageFeatureLevel |
ExpressionLanguageFeatureLevel.interpretDefaultForCustomViolations(ExpressionLanguageFeatureLevel value) |
static ExpressionLanguageFeatureLevel |
ExpressionLanguageFeatureLevel.of(String value) |
static ExpressionLanguageFeatureLevel |
ExpressionLanguageFeatureLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpressionLanguageFeatureLevel[] |
ExpressionLanguageFeatureLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ExpressionLanguageFeatureLevel |
ExpressionLanguageFeatureLevel.interpretDefaultForConstraints(ExpressionLanguageFeatureLevel value) |
static ExpressionLanguageFeatureLevel |
ExpressionLanguageFeatureLevel.interpretDefaultForCustomViolations(ExpressionLanguageFeatureLevel value) |
Copyright © 2007-2021 Red Hat, Inc. All Rights Reserved