Uses of Class
org.hibernate.validator.Incubating
-
Packages that use Incubating Package Description org.hibernate.validator Bootstrap classes HibernateValidator and HibernateValidatorConfiguration which uniquely identify Hibernate Validator and allow to configure it.org.hibernate.validator.cfg.context Contains facet and creational context interfaces forming the API for programmatic constraint definition.org.hibernate.validator.constraints.time Hibernate ValidatorDurationconstraints.org.hibernate.validator.constraintvalidation Custom Hibernate Validator specific constraint validation extension classes.org.hibernate.validator.engine org.hibernate.validator.messageinterpolation Implementations of the MessageInterpolator interface in particular ResourceBundleMessageInterpolator which can be used by custom implementations of the interface for delegation.org.hibernate.validator.metadata org.hibernate.validator.resourceloading ResourceBundleLocator interface and its various implementations.org.hibernate.validator.spi.messageinterpolation org.hibernate.validator.spi.nodenameprovider org.hibernate.validator.spi.properties This package provides support for customizing the getter detection logic.org.hibernate.validator.spi.scripting This package provides support for customization of the script evaluation forScriptAssertandParameterScriptAssertconstraints. -
-
Uses of Incubating in org.hibernate.validator
Classes in org.hibernate.validator with annotations of type Incubating Modifier and Type Class Description classPredefinedScopeHibernateValidatorImplementation ofValidationProviderlimiting validation to a predefined scope.interfacePredefinedScopeHibernateValidatorConfigurationExtension ofHibernateValidatorConfigurationwith additional methods dedicated to defining the predefined scope of bean validation e.g.interfacePredefinedScopeHibernateValidatorFactoryProvides Hibernate Validator extensions toValidatorFactoryin the context of a predefined scope.Fields in org.hibernate.validator with annotations of type Incubating Modifier and Type Field Description static 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 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 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 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 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 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 StringBaseHibernateValidatorConfiguration. SHOW_VALIDATED_VALUE_IN_TRACE_LOGSProperty for trace level logs to include values under validation when constraint checks are executed.static 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 Incubating Modifier and Type Method Description SBaseHibernateValidatorConfiguration. beanMetaDataClassNormalizer(BeanMetaDataClassNormalizer beanMetaDataClassNormalizer)PredefinedScopeHibernateValidatorConfigurationPredefinedScopeHibernateValidatorConfiguration. builtinConstraints(Set<String> constraints)SBaseHibernateValidatorConfiguration. constraintExpressionLanguageFeatureLevel(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel)Allows setting the Expression Language feature level for message interpolation of constraint messages.SBaseHibernateValidatorConfiguration. constraintValidatorPayload(Object constraintValidatorPayload)Allows to set a payload which will be passed to the constraint validators.HibernateValidatorContextHibernateValidatorContext. constraintValidatorPayload(Object constraintValidatorPayload)Define a payload passed to the constraint validators.SBaseHibernateValidatorConfiguration. customViolationExpressionLanguageFeatureLevel(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel)Allows setting the Expression Language feature level for message interpolation of custom violation messages.SBaseHibernateValidatorConfiguration. 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.GetterPropertySelectionStrategyHibernateValidatorFactory. getGetterPropertySelectionStrategy()Returns the getter property selection strategy defining the rules determining if a method is a getter or not.PropertyNodeNameProviderHibernateValidatorFactory. getPropertyNodeNameProvider()Returns the property node name provider used to resolve the name of a property node when creating the property path.ScriptEvaluatorFactoryHibernateValidatorFactory. getScriptEvaluatorFactory()Returns the factory responsible for creatingScriptEvaluators used to evaluate script expressions ofScriptAssertandParameterScriptAssertconstraints.DurationHibernateValidatorFactory. getTemporalValidationTolerance()Returns the temporal validation tolerance i.e.SBaseHibernateValidatorConfiguration. getterPropertySelectionStrategy(GetterPropertySelectionStrategy getterPropertySelectionStrategy)Allows to set a getter property selection strategy defining the rules determining if a method is a getter or not.PredefinedScopeHibernateValidatorConfigurationPredefinedScopeHibernateValidatorConfiguration. initializeBeanMetaData(Set<Class<?>> beanClassesToInitialize)PredefinedScopeHibernateValidatorConfigurationPredefinedScopeHibernateValidatorConfiguration. initializeLocales(Set<Locale> locales)Deprecated.Planned for removal, useBaseHibernateValidatorConfiguration.locales(Set)instead.SBaseHibernateValidatorConfiguration. localeResolver(LocaleResolver localeResolver)Allows setting a locale resolver, defining how the locale will be resolved when interpolating the message of a constraint violation.default SBaseHibernateValidatorConfiguration. locales(Locale... locales)Allows setting the list of the locales supported by this ValidatorFactory.SBaseHibernateValidatorConfiguration. locales(Set<Locale> locales)Allows setting the list of the locales supported by this ValidatorFactory.SBaseHibernateValidatorConfiguration. 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().SBaseHibernateValidatorConfiguration. scriptEvaluatorFactory(ScriptEvaluatorFactory scriptEvaluatorFactory)Allows to specify a customScriptEvaluatorFactoryresponsible for creatingScriptEvaluators used to evaluate script expressions forScriptAssertandParameterScriptAssertconstraints.SBaseHibernateValidatorConfiguration. showValidatedValuesInTraceLogs(boolean enabled)Allows setting the logging configuration that would include validated values in trace level logs.HibernateValidatorContextHibernateValidatorContext. showValidatedValuesInTraceLogs(boolean enabled)Define whether values that are currently being validated should be part of the logging at trace level, or not.SBaseHibernateValidatorConfiguration. temporalValidationTolerance(Duration temporalValidationTolerance)Allows to set the acceptable margin of error when comparing date/time in temporal constraints such asPast/PastOrPresentandFuture/FutureOrPresent.HibernateValidatorContextHibernateValidatorContext. 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 Incubating Modifier and Type Interface Description static interfaceConstraintDefinitionContext.ConstraintValidatorDefinitionContext<A extends Annotation,T>Allows to specify a validation implementation for the given constraint and data type using a Lambda expression or method reference.static interfaceConstraintDefinitionContext.ValidationCallable<T>Callable implementing a validation routine.interfaceContainerElementTargetFacet 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 Incubating Modifier and Type Method Description <T> ConstraintDefinitionContext.ConstraintValidatorDefinitionContext<A,T>ConstraintDefinitionContext. 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 Incubating Modifier and Type Class Description interfaceDurationMaxThe 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().interfaceDurationMinThe 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 Incubating Modifier and Type Interface Description interfaceHibernateConstraintValidator<A extends Annotation,T>Hibernate Validator specific extension to theConstraintValidatorcontract.interfaceHibernateConstraintValidatorInitializationContextProvides contextual data and operations when initializing a constraint validator.interfaceHibernateCrossParameterConstraintValidatorContextA customConstraintValidatorContextwhich provides additional functionality for cross parameter validation contexts.Methods in org.hibernate.validator.constraintvalidation with annotations of type Incubating Modifier and Type Method Description default HibernateConstraintViolationBuilderHibernateConstraintViolationBuilder. enableExpressionLanguage()Enable Expression Language with the default Expression Language feature level for the constraint violation created by this builder if the chosenMessageInterpolatorsupports it.HibernateConstraintViolationBuilderHibernateConstraintViolationBuilder. 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.DurationHibernateConstraintValidatorInitializationContext. 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 Incubating Modifier and Type Interface Description interfaceHibernateValidatorEnhancedBeanHibernate Validator specific marker interface. -
Uses of Incubating in org.hibernate.validator.messageinterpolation
Classes in org.hibernate.validator.messageinterpolation with annotations of type Incubating Modifier and Type Class Description classExpressionLanguageFeatureLevelIndicates the level of features enabled for the Expression Language engine.Constructors in org.hibernate.validator.messageinterpolation with annotations of type Incubating Constructor Description AbstractMessageInterpolator(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 Incubating Modifier and Type Interface Description interfaceBeanMetaDataClassNormalizerDefine 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 Incubating Constructor Description AggregateResourceBundleLocator(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 Incubating Modifier and Type Interface Description interfaceLocaleResolverDefine the strategy used to resolve the locale user for message interpolation when no locale is defined from the list of supported locales.interfaceLocaleResolverContextContext used for locale resolution. -
Uses of Incubating in org.hibernate.validator.spi.nodenameprovider
Classes in org.hibernate.validator.spi.nodenameprovider with annotations of type Incubating Modifier and Type Interface Description interfaceJavaBeanPropertyContains metadata for a JavaBean property.interfacePropertyBase interface for property metadata.interfacePropertyNodeNameProviderThis 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 Incubating Modifier and Type Interface Description interfaceConstrainableExecutableDescriptor for a method of a Java class.interfaceGetterPropertySelectionStrategyUsed 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 Incubating Modifier and Type Class Description classAbstractCachingScriptEvaluatorFactoryBasic cacheable factory responsible for the creation ofScriptEvaluators.classScriptEngineScriptEvaluatorA wrapper around JSR 223ScriptEngines.classScriptEvaluationExceptionException raised when an error occurs during the evaluation of a script.interfaceScriptEvaluatorUsed to evaluate script expressions forScriptAssertandParameterScriptAssertconstraints.interfaceScriptEvaluatorFactoryFactory used to initialize theScriptEvaluators required to evaluate script expressions defined inScriptAssertandParameterScriptAssertconstraints.classScriptEvaluatorNotFoundExceptionException raised when a script evaluator cannot be found for a given language.
-