All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.validator.PredefinedScopeHibernateValidatorConfiguration Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
/*
 * 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