Package org.hibernate.validator
Interface PredefinedScopeHibernateValidatorConfiguration
-
- All Superinterfaces:
BaseHibernateValidatorConfiguration<PredefinedScopeHibernateValidatorConfiguration>,Configuration<PredefinedScopeHibernateValidatorConfiguration>
- All Known Implementing Classes:
PredefinedScopeConfigurationImpl
@Incubating public interface PredefinedScopeHibernateValidatorConfiguration extends BaseHibernateValidatorConfiguration<PredefinedScopeHibernateValidatorConfiguration>
Extension ofHibernateValidatorConfigurationwith additional methods dedicated to defining the predefined scope of bean validation e.g. validated classes, constraint validators...- Since:
- 6.1
- Author:
- Guillaume Smet
-
-
Field Summary
-
Fields inherited from interface org.hibernate.validator.BaseHibernateValidatorConfiguration
ALLOW_MULTIPLE_CASCADED_VALIDATION_ON_RESULT, ALLOW_PARALLEL_METHODS_DEFINE_PARAMETER_CONSTRAINTS, ALLOW_PARAMETER_CONSTRAINT_OVERRIDE, CONSTRAINT_EXPRESSION_LANGUAGE_FEATURE_LEVEL, CONSTRAINT_MAPPING_CONTRIBUTOR, CONSTRAINT_MAPPING_CONTRIBUTORS, CUSTOM_VIOLATION_EXPRESSION_LANGUAGE_FEATURE_LEVEL, ENABLE_TRAVERSABLE_RESOLVER_RESULT_CACHE, FAIL_FAST, GETTER_PROPERTY_SELECTION_STRATEGY_CLASSNAME, LOCALE_RESOLVER_CLASSNAME, PROPERTY_NODE_NAME_PROVIDER_CLASSNAME, SCRIPT_EVALUATOR_FACTORY_CLASSNAME, SHOW_VALIDATED_VALUE_IN_TRACE_LOGS, TEMPORAL_VALIDATION_TOLERANCE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PredefinedScopeHibernateValidatorConfigurationbuiltinConstraints(Set<String> constraints)PredefinedScopeHibernateValidatorConfigurationinitializeBeanMetaData(Set<Class<?>> beanClassesToInitialize)PredefinedScopeHibernateValidatorConfigurationinitializeLocales(Set<Locale> locales)Deprecated.Planned for removal, useBaseHibernateValidatorConfiguration.locales(Set)instead.-
Methods inherited from interface org.hibernate.validator.BaseHibernateValidatorConfiguration
addMapping, allowMultipleCascadedValidationOnReturnValues, allowOverridingMethodAlterParameterConstraint, allowParallelMethodsDefineParameterConstraints, beanMetaDataClassNormalizer, constraintExpressionLanguageFeatureLevel, constraintValidatorPayload, createConstraintMapping, customViolationExpressionLanguageFeatureLevel, defaultLocale, enableTraversableResolverResultCache, externalClassLoader, failFast, getDefaultResourceBundleLocator, getDefaultValueExtractors, getterPropertySelectionStrategy, localeResolver, locales, locales, propertyNodeNameProvider, scriptEvaluatorFactory, showValidatedValuesInTraceLogs, temporalValidationTolerance
-
Methods inherited from interface jakarta.validation.Configuration
addMapping, addProperty, addValueExtractor, buildValidatorFactory, clockProvider, constraintValidatorFactory, getBootstrapConfiguration, getDefaultClockProvider, getDefaultConstraintValidatorFactory, getDefaultMessageInterpolator, getDefaultParameterNameProvider, getDefaultTraversableResolver, ignoreXmlConfiguration, messageInterpolator, parameterNameProvider, traversableResolver
-
-
-
-
Method Detail
-
builtinConstraints
@Incubating PredefinedScopeHibernateValidatorConfiguration builtinConstraints(Set<String> constraints)
-
initializeBeanMetaData
@Incubating PredefinedScopeHibernateValidatorConfiguration initializeBeanMetaData(Set<Class<?>> beanClassesToInitialize)
-
initializeLocales
@Incubating @Deprecated PredefinedScopeHibernateValidatorConfiguration initializeLocales(Set<Locale> locales)
Deprecated.Planned for removal, useBaseHibernateValidatorConfiguration.locales(Set)instead.
-
-