org.hibernate.validator.PredefinedScopeHibernateValidatorConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-validator Show documentation
Show all versions of hibernate-validator Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries. These will be removed as time goes by
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or .
*/
package org.hibernate.validator;
import java.util.Locale;
import java.util.Set;
/**
* Extension of {@link HibernateValidatorConfiguration} with additional methods dedicated to defining the predefined
* scope of bean validation e.g. validated classes, constraint validators...
*
* @author Guillaume Smet
*
* @since 6.1
*/
@Incubating
public interface PredefinedScopeHibernateValidatorConfiguration extends BaseHibernateValidatorConfiguration {
@Incubating
PredefinedScopeHibernateValidatorConfiguration builtinConstraints(Set constraints);
@Incubating
PredefinedScopeHibernateValidatorConfiguration initializeBeanMetaData(Set> beanClassesToInitialize);
/**
* @deprecated Planned for removal, use {@link BaseHibernateValidatorConfiguration#locales(Set)} instead.
*/
@Incubating
@Deprecated
PredefinedScopeHibernateValidatorConfiguration initializeLocales(Set locales);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy