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

org.hibernate.validator.cfg.context.GroupConversionTargetContext Maven / Gradle / Ivy

There is a newer version: 8.0.1.Final
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.cfg.context;

/**
 * Creational context which allows to set the target group of a group conversion configured via
 * {@link Cascadable#convertGroup(Class)}.
 *
 * @author Gunnar Morling
 */
public interface GroupConversionTargetContext {

	/**
	 * Sets the target group of the conversion to be configured.
	 *
	 * @param to the target group of the conversion
	 *
	 * @return The current creational context following the method chaining pattern.
	 */
	C to(Class to);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy