All Classes and Interfaces
Class
Description
Basic cacheable factory responsible for the creation of
ScriptEvaluators.Resource bundle backed message interpolator.
Base class for class-level
@PasswordPolicy validators.A
ResourceBundleLocator implementation that provides access
to multiple source ResourceBundles by merging them into one
aggregated bundle.Base class for all annotation definition types.
Facet of a constraint mapping creational context which allows to configure how existing annotation should be treated.
An
AssertFalse constraint definition.An
AssertTrue constraint definition.Base interface for Hibernate Validator specific configurations.
A context allowing the configuration of bean definitions.
An object responsible for defining beans that can then be resolved by Hibernate Validator.
An object holding a bean instance, and allowing to release it.
Define how the validated class is normalized before being used as the key to get the bean metadata.
Thrown when a bean cannot be found during resolution.
The interface to be implemented by components providing beans to Hibernate Validator.
A reference to a bean, allowing the retrieval of that bean
when
passed a BeanResolver.The main entry point for components looking to resolve a bean reference into a (usually user-provided) bean.
Defines where beans are retrieved from.
Checks that the annotated character sequence is a valid
BIC
(Bank Identifier Code, also known as SWIFT code).
Defines several
@BIC annotations on the same element.A
BIC constraint definition.The string has to be a well-formed BTC (Bitcoin) Mainnet address.
Defines several
@BitcoinAddress annotations on the same element.A
BitcoinAddress constraint definition.A
ResourceBundleLocator implementation that wraps around another
locator and caches values retrieved from that locator.Facet of a constraint mapping creational context which allows to mark the underlying
element as to be validated in a cascaded way.
Character categories for password policy rules.
Validates a CNPJ (Cadastro de Pessoa Jurídica - Brazilian corporate tax payer registry number).
Defines several
@CNPJ annotations on the same element.A
CNPJ constraint definition.Validate that the code point length of a character sequence is between min and max included.
Defines several
@CodePointLength annotations on the same element.Strategy for normalization.
Constraint definition for
CodePointLength.The Enum
CompositionType which is used as argument to the annotation ConstraintComposition.Checks whether a password has been compromised (e.g. found in a data breach).
The result of a compromised-password check.
Facet of a constraint mapping creational context which allows to place
constraints on the underlying element.
Descriptor for a method of a Java class.
Boolean operator that is applied to all constraints of a composing constraint annotation.
Base class for all constraint definition types.
Constraint mapping creational context representing a constraint (i.e. annotation type).
Allows to specify a validation implementation for the given constraint and data type using a Lambda expression or
method reference.
Callable implementing a validation routine.
Facet of a constraint definition creational context which allows to select the constraint (annotation type) to
which the next operations shall apply.
Represents a constraint mapping configured via the programmatic API.
Implementations contribute
ConstraintMappings to validator factory.A builder for adding constraint mappings.
Facet of a constraint mapping creational context which allows to start a new constraint mapping or definition.
An annotation processor for checking Bean Validation constraints.
This class provides useful functions to assert correctness of constraint violations raised
during tests.
A property path expected to be returned by a given
ConstraintViolation.Constraint mapping creational context representing a constructor.
Facet of a constraint mapping creational context which allows to select the bean
constructor to which the next operations shall apply.
Constraint mapping creational context representing a type argument of a property, parameter or method return value
with a generic (return) type.
Node representing a container element, providing Hibernate Validator specific functionality.
Facet of a constraint mapping creational context which allows to select a type argument or the component type of the
(return) type of the current property, parameter or method as target for the next operations.
Validates that the annotated character sequence contains all (or a minimum number of) the specified substrings.
Defines several
@Contains annotations on the same element.A
Contains constraint definition.Validates a CPF (Cadastro de Pessoa Física - Brazilian individual taxpayer registry number).
Defines several
@CPF annotations on the same element.A
CPF constraint definition.The annotated element has to represent a valid
credit card number.
Defines several
@CreditCardNumber annotations on the same element.A
CreditCardNumber constraint definition.Constraint mapping creational context allowing to add cross-parameter constraints to a method or constructor and to
navigate to other constraint targets.
Facet of a constraint mapping creational context which allows to select the cross-parameter element of a method
or constructor as target of the next operations.
Validates that a
CharSequence is an Argentine CUIL (Unique Labor Identification Code).Defines several
@CUIL annotations on the same element.A
CUIL constraint definition.Validates that a
CharSequence is an Argentine CUIT (Unique Tax Identification Code).Defines several
@CUIT annotations on the same element.A
CUIT constraint definition.The
MonetaryAmount has to be in the right CurrencyUnit.Defines several
@Currency annotations on the same element.A
Currency constraint definition.Validates that the annotated character sequence represents a valid date and/or time
according to the specified
format.Defines several
@DateTimeFormat annotations on the same element.An
DateTimeFormat constraint definition.A
DecimalMax constraint definition.A
DecimalMin constraint definition.Default
ConstraintValidatorFactory using a no-arg constructor.This class defines the dynamic group sequence provider contract.
Abstract base for all
ResourceBundleLocator implementations, that
wish to delegate to some other locator.Provides assertion methods for testing
ElementDescriptor
implementations and collections thereof.Assertions for collections of
GroupConversionDescriptors.A
Digits constraint definition.A dummy traversable resolver which returns always
true.The annotated
Duration element must be shorter than or equal to the one constructed as a sum of
DurationMax.nanos(), DurationMax.millis(), DurationMax.seconds(),
DurationMax.minutes(), DurationMax.hours(), DurationMax.days().Defines several
@DurationMax annotations on the same element.A
DurationMax constraint definition.The annotated
Duration element must be longer than or equal to the one constructed as a sum of
DurationMin.nanos(), DurationMin.millis(), DurationMin.seconds(),
DurationMin.minutes(), DurationMin.hours(), DurationMin.days().Defines several
@DurationMin annotations on the same element.A
DurationMin constraint definition.Checks that the annotated character sequence is a valid
EAN 13 number.
Defines several
@EAN annotations on the same element.An
EAN constraint definition.An
Email constraint definition.Validates that the annotated character sequence ends with the specified suffix.
Defines several
@EndsWith annotations on the same element.A
EndsWith constraint definition.Indicates the level of features enabled for the Expression Language engine.
A
Future constraint definition.A
FutureOrPresent constraint definition.A
ConstraintDef class which can be used to configure any constraint
type.Used to define the strategy to detect the getters of a bean.
Creational context which allows to set the target group of a group conversion configured via
Cascadable.convertGroup(Class).The
GroupSequenceProvider annotation defines the DefaultGroupSequenceProvider
class responsible to return the list of classes defining the default group sequence for the annotated type.Checks that the annotated character sequence contains only hexadecimal characters
(
0-9, a-f, A-F).Well-known prefixes used with hexadecimal values in various contexts/languages.
The accepted hexadecimal character set.
Required letter case for the hexadecimal letters.
Defines several
@Hexadecimal annotations on the same element.Constraint definition for
Hexadecimal.Hibernate Validator specific extension to the
ConstraintValidator contract.A custom
ConstraintValidatorContext which allows to set additional message parameters for
interpolation.Provides contextual data and operations when initializing a constraint validator.
A custom
ConstraintViolation which allows to get additional information for a constraint violation.A custom
ConstraintValidatorContext which provides additional functionality for cross parameter validation contexts.Extension to
MessageInterpolator.Context which provides functionality
specific to Hibernate Validator.A CDI qualifier to identify the Hibernate Validator specific Bean Validation beans.
Default implementation of
ValidationProvider within Hibernate Validator.Uniquely identifies Hibernate Validator in the Bean Validation bootstrap
strategy.
Represents a Hibernate Validator specific context that is used to create
Validator instances.Provides Hibernate Validator extensions to
ValidatorFactory.Deprecated, for removal: This API element is subject to removal in a future version.
Checks that the annotated character sequence is a valid
IBAN
(International Bank Account Number).
Defines several
@IBAN annotations on the same element.An
IBAN constraint definition.Marks the annotated element as incubating.
A
ConstraintValidatorFactory which enables CDI based dependency injection for the created
ConstraintValidators.Checks that the annotated character sequence is a valid russian taxpayer
identification number (INN in russian transliteration).
Defines several
@INN annotations on the same element.Defines the INN length.
An
INN constraint definition.Checks that the annotated character sequence is a valid
IP address.
Defines several
@IpAddress annotations on the same element.Defines the IP address version.
An
IpAddress constraint definition.Checks that the annotated character sequence is a valid
ISBN.
Defines several
@ISBN annotations on the same element.Defines the ISBN length.
An
ISBN constraint definition.Checks that the annotated character sequence is a valid
ISSN.
Defines several
@ISSN annotations on the same element.Defines the ISSN length.
Programmatic constraint definition for
ISSN.Contains metadata for a JavaBean property.
Defines a keyboard layout as a mapping from characters to physical key positions.
Checks that the annotated character sequence is a valid Korean resident registration number.
Defines several
@KorRRN annotations on the same element.Defines the validation rules this constraint applies to the Korean resident registration number.
A
KorRRN constraint definition.Validate that the string is between min and max included.
Defines several
@Length annotations on the same element.A
Length constraint definition.Define the strategy used to resolve the locale user for message interpolation when no locale is defined from the list
of supported locales.
Context used for locale resolution.
The annotated element must contain only lowercase letters.
Defines several
@LowerCase annotations on the same element.Constraint definition for
LowerCase.Luhn algorithm check constraint.
Defines several
@LuhnCheck annotations on the same element.A
LuhnCheck constraint definition.A
Max constraint definition.Defines whether message parameters should be escaped to prevent injection into message interpolation expressions.
Constraint mapping creational context representing a method.
Facet of a constraint mapping creational context which allows to select the bean
method to which the next operations shall apply.
A
Min constraint definition.@Modulo 10 check constraint.
Defines several
@Mod10Check annotations on the same element.A
Mod10Check constraint definition.Modulo 11 check constraint.
Defines several
@Mod11Check annotations on the same element.A
Mod11Check constraint definition.A
Negative constraint definition.A
NegativeOrZero constraint definition.Validates that a
CharSequence is a NIP number (10-digit Polish VAT identification number).Defines several
@NIP annotations on the same element.An
NIP constraint definition.Validate that a character sequence is of normalization form.
Defines several
@Normalized annotations on the same element.Constraint definition for
Normalized.A
NotBlank constraint definition.Validates that the annotated password has not been compromised in a data breach,
as determined by a
CompromisedPasswordChecker.Defines several
@NotCompromised annotations on the same element.A
NotCompromised constraint definition.A
NotEmpty constraint definition.A
NotNull constraint definition.A
Null constraint definition.The annotated element must be
null or not blank.Defines several
@NullOrNotBlank annotations on the same element.Constraint definition for
NullOrNotBlank.The annotated element must be
null or not empty.Defines several
@NullOrNotEmpty annotations on the same element.Constraint definition for
NullOrNotEmpty.Constraint mapping creational context representing a method parameter.
Resource bundle message interpolator, it does not support EL expression
and does support parameter value expression
A method-level constraint, that evaluates a script expression against the
annotated method or constructor.
Defines several
ParameterScriptAssert annotations on the same executable.A
ParameterScriptAssert constraint definition.Facet of a constraint mapping creational context which allows to select a method or constructor parameter to
which the next operations shall apply.
A
ParameterNameProvider implementation backed by the ParaNamer
library.Provides the password and optional named properties to
PasswordPolicyRule implementations
during validation.Validates that the annotated password satisfies a set of policy rules defined by
a
PasswordPolicyDefinition implementation.Defines several
@PasswordPolicy annotations on the same element.Builder for configuring password policy rules within a
PasswordPolicyDefinition.A
PasswordPolicy constraint definition.Defines a password validation policy by configuring rules on a
PasswordPolicyBuilder.A single rule within a
password policy.Validates that the annotated password meets a minimum strength score
as determined by a
PasswordStrengthEstimator.Defines several
@PasswordStrength annotations on the same element.A
PasswordStrength constraint definition.Estimates the strength of a password.
The result of a password strength estimation.
A
Past constraint definition.A
PastOrPresent constraint definition.An extended representation of the validation path, provides Hibernate Validator specific functionality.
An
Pattern constraint definition.Validates that a
CharSequence is a PESEL (Polish national identification number).Defines several
@PESEL annotations on the same element.A
PESEL constraint definition.A resource bundle locator, that loads resource bundles by invoking
ResourceBundle.loadBundle(String, Local, ClassLoader).The annotated element must be a valid port number (between 0 and 65535 inclusive).
Defines several
@Port annotations on the same element.Constraint definition for
Port.A
Positive constraint definition.Implementation of
ValidationProvider limiting validation to a predefined scope.Extension of
HibernateValidatorConfiguration with additional methods dedicated to defining the predefined
scope of bean validation e.g. validated classes, constraint validators...Provides Hibernate Validator extensions to
ValidatorFactory in the context of a predefined scope.A
ParameterNameProvider for testing purposes.Helps to determine whether the processed beans of a particular type have to be tracked
when cascaded into.
Base interface for property metadata.
Constraint mapping creational context representing a property of a bean.
Node representing a property, providing Hibernate Validator specific functionality.
This interface is used to resolve the name of a property node when creating the property path.
Provides additional context for the
PropertyNodeNameProvider.getName(Property, PropertyNodeNameProviderContext).Facet of a constraint mapping creational context which allows to select the bean
property to which the next operations shall apply.
An extended representation of the validation path, provides Hibernate Validator specific functionality.
The annotated element has to be in the appropriate range.
Defines several
@Range annotations on the same element.A
Range constraint definition.Validate that the character sequence (e.g. string) is a valid URL using a regular expression.
Validates that a
CharSequence is a REGON number (9/14-digit Polish Taxpayer Identification Number).Defines several
@REGON annotations on the same element.A
REGON constraint definition.Validates that a
CharSequence is a Brazilian RENAVAM
(National Registry of Motor Vehicles).Defines several
@RENAVAM annotations on the same element.A
RENAVAM constraint definition.
Used by
ResourceBundleMessageInterpolator to load resource bundles
containing message texts to be displayed in case of validation errors.Resource bundle backed message interpolator.
Constraint mapping creational context representing a method return value.
Facet of a constraint mapping creational context which allows to select the current method's or constructor's
return value as target for the next operations.
Validates that a
CharSequence is a Paraguayan RUC (Unique Taxpayer Registry).Defines several
@RUC annotations on the same element.A
RUC constraint definition.
A class-level constraint, that evaluates a script expression against the
annotated element.
Defines several
@ScriptAssert annotations on the same element.A
ScriptAssert constraint definition.A wrapper around JSR 223
ScriptEngines.Exception raised when an error occurs during the evaluation of a script.
Used to evaluate script expressions for
ScriptAssert
and ParameterScriptAssert constraints.Factory used to initialize the
ScriptEvaluators required to evaluate script expressions defined in
ScriptAssert and ParameterScriptAssert constraints.Exception raised when a script evaluator cannot be found for a given language.
A
Size constraint definition.Validates that the annotated character sequence starts with at least one of the specified prefixes.
Defines several
@StartsWith annotations on the same element.A
StartsWith constraint definition.A documentation annotation for notating what JIRA issue is being tested.
Validates a Título Eleitoral (Brazilian Voter ID card number).
Defines several
@TituloEleitoral annotations on the same element.A
TituloEleitoral constraint definition.Validates that the annotated character sequence has no leading or trailing whitespace.
Defines several
@Trimmed annotations on the same element.Constraint definition for
Trimmed.Constraint mapping creational context representing a type.
Facet of a constraint mapping creational context which allows to select the bean
type to which the next operations shall apply.
Validates that every object in the provided
Collection is unique, i.e. that we can't find 2 equal elements in
the collection.Defines several
@UniqueElements annotations on the same element.An
UniqueElements constraint definition.The annotated element must contain only uppercase letters.
Defines several
@UpperCase annotations on the same element.Constraint definition for
UpperCase.Validates the annotated string is an URL.
Defines several
@URL annotations on the same element.An
URL constraint definition.Checks that the annotated character sequence is a valid
UUID.
Required letter case for hex characters
Defines several
@UUID annotations on the same element.Constraint definition for
UUID.A CDI portable extension which integrates Bean Validation with CDI.
An interceptor which performs a validation of the Bean Validation constraints specified at the parameters and/or return
values of intercepted methods using the method validation functionality provided by Hibernate Validator.
An invocation handler used to test method-level validation.
Helps tests with using a specific file as
META-INF/validation.xml.
SecurityManageranymore.