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

liquibase.integration.spring.Customizer Maven / Gradle / Ivy

The newest version!
package liquibase.integration.spring;

/**
 * Callback interface that accepts a single input argument and returns no result.
 *
 * @param  the type of the input to the operation
 */
@FunctionalInterface
public interface Customizer {

    /**
     * Performs the customizations on the input argument.
     * @param t the input argument
     */
    void customize(T t);

    /**
     * Returns a {@link Customizer} that does not alter the input argument.
     * @return a {@link Customizer} that does not alter the input argument.
     */
    static  Customizer withDefaults() {
        return (t) -> {
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy