Uses of Annotation Interface
org.hibernate.validator.Incubating
Packages that use Incubating
Package
Description
Bootstrap classes HibernateValidator and HibernateValidatorConfiguration which uniquely identify Hibernate Validator
and allow to configure it.
Contains facet and creational context interfaces forming the API for programmatic constraint definition.
Constraint definition classes for programmatic constraint definition API.
Korean specific constraint definition classes for programmatic constraint definition API.
Hibernate Validator specific constraints.
Hibernate Validator Korean constraints.
Hibernate Validator
Duration
constraints.Custom Hibernate Validator specific constraint validation extension classes.
Implementations of the MessageInterpolator interface in particular ResourceBundleMessageInterpolator which can be
used by custom implementations of the interface for delegation.
ResourceBundleLocator interface and its various implementations.
This package provides support for customizing the getter detection logic.
This package provides support for customization of the script evaluation for
ScriptAssert
and ParameterScriptAssert
constraints.-
Uses of Incubating in org.hibernate.validator
Classes in org.hibernate.validator with annotations of type IncubatingModifier and TypeClassDescriptionclass
Implementation ofValidationProvider
limiting validation to a predefined scope.interface
Extension ofHibernateValidatorConfiguration
with additional methods dedicated to defining the predefined scope of bean validation e.g. validated classes, constraint validators...interface
Provides Hibernate Validator extensions toValidatorFactory
in the context of a predefined scope.Fields in org.hibernate.validator with annotations of type IncubatingModifier and TypeFieldDescriptionstatic final String
BaseHibernateValidatorConfiguration.CONSTRAINT_EXPRESSION_LANGUAGE_FEATURE_LEVEL
Property for configuring the Expression Language feature level for constraints, allowing to define which Expression Language features are available for message interpolation.static final String
BaseHibernateValidatorConfiguration.CUSTOM_VIOLATION_EXPRESSION_LANGUAGE_FEATURE_LEVEL
Property for configuring the Expression Language feature level for custom violations, allowing to define which Expression Language features are available for message interpolation.static final String
BaseHibernateValidatorConfiguration.FAIL_FAST_ON_PROPERTY_VIOLATION
Property corresponding to theBaseHibernateValidatorConfiguration.failFastOnPropertyViolation(boolean)
method.static final String
BaseHibernateValidatorConfiguration.GETTER_PROPERTY_SELECTION_STRATEGY_CLASSNAME
Property for configuring the getter property selection strategy, allowing to set which rules will be applied to determine if a method is a valid JavaBean getter.static final String
BaseHibernateValidatorConfiguration.LOCALE_RESOLVER_CLASSNAME
Property for configuring the locale resolver, allowing to select an implementation ofLocaleResolver
which will be used for locale resolution when interpolating a message.static final String
BaseHibernateValidatorConfiguration.PROPERTY_NODE_NAME_PROVIDER_CLASSNAME
Property for configuring the property node name provider, allowing to select an implementation ofPropertyNodeNameProvider
which will be used for property name resolution when creating a property path.static final String
BaseHibernateValidatorConfiguration.SCRIPT_EVALUATOR_FACTORY_CLASSNAME
Property for configuring the script evaluator factory, allowing to set up which factory will be used to createScriptEvaluator
s for evaluation of script expressions inScriptAssert
andParameterScriptAssert
constraints.static final String
BaseHibernateValidatorConfiguration.SHOW_VALIDATED_VALUE_IN_TRACE_LOGS
Property for trace level logs to include values under validation when constraint checks are executed.static final String
BaseHibernateValidatorConfiguration.TEMPORAL_VALIDATION_TOLERANCE
Property for configuring temporal validation tolerance, allowing to set the acceptable margin of error when comparing date/time in temporal constraints.Methods in org.hibernate.validator with annotations of type IncubatingModifier and TypeMethodDescriptionBaseHibernateValidatorConfiguration.beanMetaDataClassNormalizer
(BeanMetaDataClassNormalizer beanMetaDataClassNormalizer) PredefinedScopeHibernateValidatorConfiguration.builtinConstraints
(Set<String> constraints) BaseHibernateValidatorConfiguration.constraintExpressionLanguageFeatureLevel
(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel) Allows setting the Expression Language feature level for message interpolation of constraint messages.BaseHibernateValidatorConfiguration.constraintValidatorPayload
(Object constraintValidatorPayload) Allows to set a payload which will be passed to the constraint validators.HibernateValidatorContext.constraintValidatorPayload
(Object constraintValidatorPayload) Define a payload passed to the constraint validators.BaseHibernateValidatorConfiguration.customViolationExpressionLanguageFeatureLevel
(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel) Allows setting the Expression Language feature level for message interpolation of custom violation messages.BaseHibernateValidatorConfiguration.defaultLocale
(Locale defaultLocale) Allows setting the default locale used to interpolate the constraint violation messages.BaseHibernateValidatorConfiguration.failFastOnPropertyViolation
(boolean failFastOnPropertyViolation) En- or disables the skipping of class level constraints based on validation of property level ones.HibernateValidatorContext.failFastOnPropertyViolation
(boolean failFastOnPropertyViolation) En- or disables the skipping of class level constraints based on validation of property level ones.Set<ValueExtractor<?>>
BaseHibernateValidatorConfiguration.getDefaultValueExtractors()
Returns the defaultValueExtractor
implementations as per the specification.HibernateValidatorFactory.getGetterPropertySelectionStrategy()
Returns the getter property selection strategy defining the rules determining if a method is a getter or not.HibernateValidatorFactory.getPropertyNodeNameProvider()
Returns the property node name provider used to resolve the name of a property node when creating the property path.HibernateValidatorFactory.getScriptEvaluatorFactory()
Returns the factory responsible for creatingScriptEvaluator
s used to evaluate script expressions ofScriptAssert
andParameterScriptAssert
constraints.HibernateValidatorFactory.getTemporalValidationTolerance()
Returns the temporal validation tolerance i.e. the acceptable margin of error when comparing date/time in temporal constraints.BaseHibernateValidatorConfiguration.getterPropertySelectionStrategy
(GetterPropertySelectionStrategy getterPropertySelectionStrategy) Allows to set a getter property selection strategy defining the rules determining if a method is a getter or not.PredefinedScopeHibernateValidatorConfiguration.includeBeansAndConstraintsDefinedOnlyInXml
(boolean include) Specify whether to append thebuilt-in constraints
andbeans to initialize
with constraints and beans provided only through XML mapping.PredefinedScopeHibernateValidatorConfiguration.initializeBeanMetaData
(Set<Class<?>> beanClassesToInitialize) BaseHibernateValidatorConfiguration.localeResolver
(LocaleResolver localeResolver) Allows setting a locale resolver, defining how the locale will be resolved when interpolating the message of a constraint violation.default S
Allows setting the list of the locales supported by this ValidatorFactory.Allows setting the list of the locales supported by this ValidatorFactory.BaseHibernateValidatorConfiguration.propertyNodeNameProvider
(PropertyNodeNameProvider propertyNodeNameProvider) Allows to set a property node name provider, defining how the name of a property node will be resolved when constructing a property path as the one returned byConstraintViolation.getPropertyPath()
.BaseHibernateValidatorConfiguration.scriptEvaluatorFactory
(ScriptEvaluatorFactory scriptEvaluatorFactory) Allows to specify a customScriptEvaluatorFactory
responsible for creatingScriptEvaluator
s used to evaluate script expressions forScriptAssert
andParameterScriptAssert
constraints.BaseHibernateValidatorConfiguration.showValidatedValuesInTraceLogs
(boolean enabled) Allows setting the logging configuration that would include validated values in trace level logs.HibernateValidatorContext.showValidatedValuesInTraceLogs
(boolean enabled) Define whether values that are currently being validated should be part of the logging at trace level, or not.BaseHibernateValidatorConfiguration.temporalValidationTolerance
(Duration temporalValidationTolerance) Allows to set the acceptable margin of error when comparing date/time in temporal constraints such asPast
/PastOrPresent
andFuture
/FutureOrPresent
.HibernateValidatorContext.temporalValidationTolerance
(Duration temporalValidationTolerance) Define the temporal validation tolerance i.e. the acceptable margin of error when comparing date/time in temporal constraints. -
Uses of Incubating in org.hibernate.validator.cfg.context
Classes in org.hibernate.validator.cfg.context with annotations of type IncubatingModifier and TypeInterfaceDescriptionstatic interface
Allows to specify a validation implementation for the given constraint and data type using a Lambda expression or method reference.static interface
Callable implementing a validation routine.interface
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.Methods in org.hibernate.validator.cfg.context with annotations of type IncubatingModifier and TypeMethodDescriptionConstraintDefinitionContext.validateType
(Class<T> type) Allows to configure a validation implementation using a Lambda expression or method reference. -
Uses of Incubating in org.hibernate.validator.cfg.defs
Classes in org.hibernate.validator.cfg.defs with annotations of type Incubating -
Uses of Incubating in org.hibernate.validator.cfg.defs.kor
Classes in org.hibernate.validator.cfg.defs.kor with annotations of type Incubating -
Uses of Incubating in org.hibernate.validator.constraints
Classes in org.hibernate.validator.constraints with annotations of type IncubatingModifier and TypeClassDescription@interface
The string has to be a well-formed BTC (Bitcoin) Mainnet address. -
Uses of Incubating in org.hibernate.validator.constraints.kor
Classes in org.hibernate.validator.constraints.kor with annotations of type IncubatingModifier and TypeClassDescription@interface
Checks that the annotated character sequence is a valid Korean resident registration number. -
Uses of Incubating in org.hibernate.validator.constraints.time
Classes in org.hibernate.validator.constraints.time with annotations of type IncubatingModifier and TypeClassDescription@interface
The annotatedDuration
element must be shorter than or equal to the one constructed as a sum ofDurationMax.nanos()
,DurationMax.millis()
,DurationMax.seconds()
,DurationMax.minutes()
,DurationMax.hours()
,DurationMax.days()
.@interface
The annotatedDuration
element must be longer than or equal to the one constructed as a sum ofDurationMin.nanos()
,DurationMin.millis()
,DurationMin.seconds()
,DurationMin.minutes()
,DurationMin.hours()
,DurationMin.days()
. -
Uses of Incubating in org.hibernate.validator.constraintvalidation
Classes in org.hibernate.validator.constraintvalidation with annotations of type IncubatingModifier and TypeInterfaceDescriptioninterface
HibernateConstraintValidator<A extends Annotation,
T> Hibernate Validator specific extension to theConstraintValidator
contract.interface
Provides contextual data and operations when initializing a constraint validator.interface
A customConstraintValidatorContext
which provides additional functionality for cross parameter validation contexts.Methods in org.hibernate.validator.constraintvalidation with annotations of type IncubatingModifier and TypeMethodDescriptionHibernateConstraintViolationBuilder.enableExpressionLanguage()
Enable Expression Language with the default Expression Language feature level for the constraint violation created by this builder if the chosenMessageInterpolator
supports it.HibernateConstraintViolationBuilder.enableExpressionLanguage
(ExpressionLanguageFeatureLevel level) Enable Expression Language for the constraint violation created by this builder if the chosenMessageInterpolator
supports it.<C> C
HibernateConstraintValidatorContext.getConstraintValidatorPayload
(Class<C> type) Returns an instance of the specified type ornull
if the current constraint validator payload isn't of the given type.HibernateConstraintValidatorInitializationContext.getTemporalValidationTolerance()
Returns the temporal validation tolerance i.e. the acceptable margin of error when comparing date/time in temporal constraints. -
Uses of Incubating in org.hibernate.validator.engine
Classes in org.hibernate.validator.engine with annotations of type IncubatingModifier and TypeInterfaceDescriptioninterface
Hibernate Validator specific marker interface. -
Uses of Incubating in org.hibernate.validator.messageinterpolation
Classes in org.hibernate.validator.messageinterpolation with annotations of type IncubatingModifier and TypeClassDescriptionenum
Indicates the level of features enabled for the Expression Language engine.Constructors in org.hibernate.validator.messageinterpolation with annotations of type IncubatingModifierConstructorDescriptionAbstractMessageInterpolator
(Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) MessageInterpolator
using the default resource bundle locators.AbstractMessageInterpolator
(ResourceBundleLocator userResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) MessageInterpolator
taking a resource bundle locator.AbstractMessageInterpolator
(ResourceBundleLocator userResourceBundleLocator, ResourceBundleLocator contributorResourceBundleLocator, Set<Locale> localesToInitialize, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) MessageInterpolator
taking two resource bundle locators.AbstractMessageInterpolator
(ResourceBundleLocator userResourceBundleLocator, ResourceBundleLocator contributorResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles, boolean cacheMessages) MessageInterpolator
taking two resource bundle locators.ParameterMessageInterpolator
(Set<Locale> locales, Locale defaultLocale, boolean preloadResourceBundles) ParameterMessageInterpolator
(Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) ResourceBundleMessageInterpolator
(Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) ResourceBundleMessageInterpolator
(ResourceBundleLocator userResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) ResourceBundleMessageInterpolator
(ResourceBundleLocator userResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles, boolean cachingEnabled) ResourceBundleMessageInterpolator
(ResourceBundleLocator userResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles, boolean cachingEnabled, ExpressionFactory expressionFactory) ResourceBundleMessageInterpolator
(ResourceBundleLocator userResourceBundleLocator, ResourceBundleLocator contributorResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) ResourceBundleMessageInterpolator
(ResourceBundleLocator userResourceBundleLocator, ResourceBundleLocator contributorResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles, boolean cachingEnabled) -
Uses of Incubating in org.hibernate.validator.metadata
Classes in org.hibernate.validator.metadata with annotations of type IncubatingModifier and TypeInterfaceDescriptioninterface
Define how the validated class is normalized before being used as the key to get the bean metadata. -
Uses of Incubating in org.hibernate.validator.resourceloading
Constructors in org.hibernate.validator.resourceloading with annotations of type IncubatingModifierConstructorDescriptionAggregateResourceBundleLocator
(List<String> bundleNames, boolean preloadResourceBundles, Set<Locale> localesToInitialize) Creates a locator that delivers a resource bundle merged from the given list of source bundles.AggregateResourceBundleLocator
(List<String> bundleNames, boolean preloadResourceBundles, Set<Locale> localesToInitialize, ResourceBundleLocator delegate) Creates a locator that delivers a resource bundle merged from the given list of source bundles.AggregateResourceBundleLocator
(List<String> bundleNames, boolean preloadResourceBundles, Set<Locale> localesToInitialize, ResourceBundleLocator delegate, ClassLoader classLoader) Creates a locator that delivers a resource bundle merged from the given list of source bundles.PlatformResourceBundleLocator
(String bundleName, Set<Locale> localesToInitialize) Creates a newPlatformResourceBundleLocator
.PlatformResourceBundleLocator
(String bundleName, Set<Locale> localesToInitialize, ClassLoader classLoader) Creates a newPlatformResourceBundleLocator
.PlatformResourceBundleLocator
(String bundleName, Set<Locale> localesToInitialize, ClassLoader classLoader, boolean aggregate) Creates a newPlatformResourceBundleLocator
. -
Uses of Incubating in org.hibernate.validator.spi.messageinterpolation
Classes in org.hibernate.validator.spi.messageinterpolation with annotations of type IncubatingModifier and TypeInterfaceDescriptioninterface
Define the strategy used to resolve the locale user for message interpolation when no locale is defined from the list of supported locales.interface
Context used for locale resolution. -
Uses of Incubating in org.hibernate.validator.spi.nodenameprovider
Classes in org.hibernate.validator.spi.nodenameprovider with annotations of type IncubatingModifier and TypeInterfaceDescriptioninterface
Contains metadata for a JavaBean property.interface
Base interface for property metadata.interface
This interface is used to resolve the name of a property node when creating the property path. -
Uses of Incubating in org.hibernate.validator.spi.properties
Classes in org.hibernate.validator.spi.properties with annotations of type IncubatingModifier and TypeInterfaceDescriptioninterface
Descriptor for a method of a Java class.interface
Used to define the strategy to detect the getters of a bean. -
Uses of Incubating in org.hibernate.validator.spi.scripting
Classes in org.hibernate.validator.spi.scripting with annotations of type IncubatingModifier and TypeClassDescriptionclass
Basic cacheable factory responsible for the creation ofScriptEvaluator
s.class
A wrapper around JSR 223ScriptEngine
s.class
Exception raised when an error occurs during the evaluation of a script.interface
Used to evaluate script expressions forScriptAssert
andParameterScriptAssert
constraints.interface
Factory used to initialize theScriptEvaluator
s required to evaluate script expressions defined inScriptAssert
andParameterScriptAssert
constraints.class
Exception raised when a script evaluator cannot be found for a given language.