Uses of Annotation Type
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.
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 TypeClassDescriptionclassImplementation ofValidationProviderlimiting validation to a predefined scope.interfaceExtension ofHibernateValidatorConfigurationwith additional methods dedicated to defining the predefined scope of bean validation e.g.interfaceProvides Hibernate Validator extensions toValidatorFactoryin the context of a predefined scope.Fields in org.hibernate.validator with annotations of type IncubatingModifier and TypeFieldDescriptionstatic final StringBaseHibernateValidatorConfiguration.CONSTRAINT_EXPRESSION_LANGUAGE_FEATURE_LEVELProperty for configuring the Expression Language feature level for constraints, allowing to define which Expression Language features are available for message interpolation.static final StringBaseHibernateValidatorConfiguration.CUSTOM_VIOLATION_EXPRESSION_LANGUAGE_FEATURE_LEVELProperty for configuring the Expression Language feature level for custom violations, allowing to define which Expression Language features are available for message interpolation.static final StringBaseHibernateValidatorConfiguration.GETTER_PROPERTY_SELECTION_STRATEGY_CLASSNAMEProperty 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 StringBaseHibernateValidatorConfiguration.LOCALE_RESOLVER_CLASSNAMEProperty for configuring the locale resolver, allowing to select an implementation ofLocaleResolverwhich will be used for locale resolution when interpolating a message.static final StringBaseHibernateValidatorConfiguration.PROPERTY_NODE_NAME_PROVIDER_CLASSNAMEProperty for configuring the property node name provider, allowing to select an implementation ofPropertyNodeNameProviderwhich will be used for property name resolution when creating a property path.static final StringBaseHibernateValidatorConfiguration.SCRIPT_EVALUATOR_FACTORY_CLASSNAMEProperty for configuring the script evaluator factory, allowing to set up which factory will be used to createScriptEvaluators for evaluation of script expressions inScriptAssertandParameterScriptAssertconstraints.static final StringBaseHibernateValidatorConfiguration.SHOW_VALIDATED_VALUE_IN_TRACE_LOGSProperty for trace level logs to include values under validation when constraint checks are executed.static final StringBaseHibernateValidatorConfiguration.TEMPORAL_VALIDATION_TOLERANCEProperty 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.Set<ValueExtractor<?>>BaseHibernateValidatorConfiguration.getDefaultValueExtractors()Returns the defaultValueExtractorimplementations 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 creatingScriptEvaluators used to evaluate script expressions ofScriptAssertandParameterScriptAssertconstraints.HibernateValidatorFactory.getTemporalValidationTolerance()Returns the temporal validation tolerance i.e.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.initializeBeanMetaData(Set<Class<?>> beanClassesToInitialize) PredefinedScopeHibernateValidatorConfiguration.initializeLocales(Set<Locale> locales) Deprecated.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 SAllows 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 customScriptEvaluatorFactoryresponsible for creatingScriptEvaluators used to evaluate script expressions forScriptAssertandParameterScriptAssertconstraints.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/PastOrPresentandFuture/FutureOrPresent.HibernateValidatorContext.temporalValidationTolerance(Duration temporalValidationTolerance) Define the temporal validation tolerance i.e. -
Uses of Incubating in org.hibernate.validator.cfg.context
Classes in org.hibernate.validator.cfg.context with annotations of type IncubatingModifier and TypeInterfaceDescriptionstatic interfaceAllows to specify a validation implementation for the given constraint and data type using a Lambda expression or method reference.static interfaceCallable implementing a validation routine.interfaceFacet 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.constraints.time
Classes in org.hibernate.validator.constraints.time with annotations of type IncubatingModifier and TypeClassDescription@interfaceThe annotatedDurationelement 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().@interfaceThe annotatedDurationelement 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 TypeInterfaceDescriptioninterfaceHibernateConstraintValidator<A extends Annotation,T> Hibernate Validator specific extension to theConstraintValidatorcontract.interfaceProvides contextual data and operations when initializing a constraint validator.interfaceA customConstraintValidatorContextwhich 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 chosenMessageInterpolatorsupports it.HibernateConstraintViolationBuilder.enableExpressionLanguage(ExpressionLanguageFeatureLevel level) Enable Expression Language for the constraint violation created by this builder if the chosenMessageInterpolatorsupports it.<C> CHibernateConstraintValidatorContext.getConstraintValidatorPayload(Class<C> type) Returns an instance of the specified type ornullif the current constraint validator payload isn't of the given type.HibernateConstraintValidatorInitializationContext.getTemporalValidationTolerance()Returns the temporal validation tolerance i.e. -
Uses of Incubating in org.hibernate.validator.engine
Classes in org.hibernate.validator.engine with annotations of type IncubatingModifier and TypeInterfaceDescriptioninterfaceHibernate Validator specific marker interface. -
Uses of Incubating in org.hibernate.validator.messageinterpolation
Classes in org.hibernate.validator.messageinterpolation with annotations of type IncubatingModifier and TypeClassDescriptionenumIndicates 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) MessageInterpolatorusing the default resource bundle locators.AbstractMessageInterpolator(ResourceBundleLocator userResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) MessageInterpolatortaking a resource bundle locator.AbstractMessageInterpolator(ResourceBundleLocator userResourceBundleLocator, ResourceBundleLocator contributorResourceBundleLocator, Set<Locale> localesToInitialize, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles) MessageInterpolatortaking two resource bundle locators.AbstractMessageInterpolator(ResourceBundleLocator userResourceBundleLocator, ResourceBundleLocator contributorResourceBundleLocator, Set<Locale> locales, Locale defaultLocale, LocaleResolver localeResolver, boolean preloadResourceBundles, boolean cacheMessages) MessageInterpolatortaking 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 TypeInterfaceDescriptioninterfaceDefine 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 TypeInterfaceDescriptioninterfaceDefine the strategy used to resolve the locale user for message interpolation when no locale is defined from the list of supported locales.interfaceContext 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 TypeInterfaceDescriptioninterfaceContains metadata for a JavaBean property.interfaceBase interface for property metadata.interfaceThis 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 TypeInterfaceDescriptioninterfaceDescriptor for a method of a Java class.interfaceUsed 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 TypeClassDescriptionclassBasic cacheable factory responsible for the creation ofScriptEvaluators.classA wrapper around JSR 223ScriptEngines.classException raised when an error occurs during the evaluation of a script.interfaceUsed to evaluate script expressions forScriptAssertandParameterScriptAssertconstraints.interfaceFactory used to initialize theScriptEvaluators required to evaluate script expressions defined inScriptAssertandParameterScriptAssertconstraints.classException raised when a script evaluator cannot be found for a given language.
BaseHibernateValidatorConfiguration.locales(Set)instead.