Package | Description |
---|---|
org.hibernate.validator |
Bootstrap classes HibernateValidator and HibernateValidatorConfiguration which uniquely identify Hibernate Validator
and allow to configure it.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-380.
|
Modifier and Type | Method and Description |
---|---|
HibernateValidatorContext |
HibernateValidatorContext.addValueExtractor(javax.validation.valueextraction.ValueExtractor<?> extractor) |
HibernateValidatorContext |
HibernateValidatorContext.allowMultipleCascadedValidationOnReturnValues(boolean allow)
Define whether more than one constraint on a return value may be marked for cascading validation are allowed.
|
HibernateValidatorContext |
HibernateValidatorContext.allowOverridingMethodAlterParameterConstraint(boolean allow)
Define whether overriding methods that override constraints should throw a
ConstraintDefinitionException . |
HibernateValidatorContext |
HibernateValidatorContext.allowParallelMethodsDefineParameterConstraints(boolean allow)
Define whether parallel methods that define constraints should throw a
ConstraintDefinitionException . |
HibernateValidatorContext |
HibernateValidatorContext.clockProvider(javax.validation.ClockProvider clockProvider) |
HibernateValidatorContext |
HibernateValidatorContext.constraintValidatorFactory(javax.validation.ConstraintValidatorFactory factory) |
HibernateValidatorContext |
HibernateValidatorContext.constraintValidatorPayload(java.lang.Object constraintValidatorPayload)
Define a payload passed to the constraint validators.
|
HibernateValidatorContext |
HibernateValidatorContext.enableTraversableResolverResultCache(boolean enabled)
Define whether the per validation call caching of
TraversableResolver results is enabled. |
HibernateValidatorContext |
HibernateValidatorContext.failFast(boolean failFast)
En- or disables the fail fast mode.
|
HibernateValidatorContext |
HibernateValidatorContext.messageInterpolator(javax.validation.MessageInterpolator messageInterpolator) |
HibernateValidatorContext |
HibernateValidatorContext.parameterNameProvider(javax.validation.ParameterNameProvider parameterNameProvider) |
HibernateValidatorContext |
HibernateValidatorContext.temporalValidationTolerance(java.time.Duration temporalValidationTolerance)
Define the temporal validation tolerance i.e.
|
HibernateValidatorContext |
HibernateValidatorContext.traversableResolver(javax.validation.TraversableResolver traversableResolver) |
HibernateValidatorContext |
HibernateValidatorFactory.usingContext()
Returns a context for validator configuration via options from the
Bean Validation API as well as specific ones from Hibernate Validator.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidatorContextImpl |
Modifier and Type | Method and Description |
---|---|
HibernateValidatorContext |
ValidatorContextImpl.addValueExtractor(javax.validation.valueextraction.ValueExtractor<?> extractor) |
HibernateValidatorContext |
ValidatorContextImpl.allowMultipleCascadedValidationOnReturnValues(boolean allow) |
HibernateValidatorContext |
ValidatorContextImpl.allowOverridingMethodAlterParameterConstraint(boolean allow) |
HibernateValidatorContext |
ValidatorContextImpl.allowParallelMethodsDefineParameterConstraints(boolean allow) |
HibernateValidatorContext |
ValidatorContextImpl.clockProvider(javax.validation.ClockProvider clockProvider) |
HibernateValidatorContext |
ValidatorContextImpl.constraintValidatorFactory(javax.validation.ConstraintValidatorFactory factory) |
HibernateValidatorContext |
ValidatorContextImpl.constraintValidatorPayload(java.lang.Object dynamicPayload) |
HibernateValidatorContext |
ValidatorContextImpl.enableTraversableResolverResultCache(boolean enabled) |
HibernateValidatorContext |
ValidatorContextImpl.failFast(boolean failFast) |
HibernateValidatorContext |
ValidatorContextImpl.messageInterpolator(javax.validation.MessageInterpolator messageInterpolator) |
HibernateValidatorContext |
ValidatorContextImpl.parameterNameProvider(javax.validation.ParameterNameProvider parameterNameProvider) |
HibernateValidatorContext |
ValidatorContextImpl.temporalValidationTolerance(java.time.Duration temporalValidationTolerance) |
HibernateValidatorContext |
ValidatorContextImpl.traversableResolver(javax.validation.TraversableResolver traversableResolver) |
HibernateValidatorContext |
ValidatorFactoryImpl.usingContext() |
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved