org.hibernate.validator.PredefinedScopeHibernateValidatorConfiguration Maven / Gradle / Ivy
/*
* 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);
}