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

liquibase.io.OutputFileHandlerFactory Maven / Gradle / Ivy

The newest version!
package liquibase.io;

import liquibase.plugin.AbstractPluginFactory;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class OutputFileHandlerFactory extends AbstractPluginFactory {
    @Override
    protected Class getPluginClass() {
        return OutputFileHandler.class;
    }

    @Override
    protected int getPriority(OutputFileHandler obj, Object... args) {
        return obj.getPriority();
    }

    public OutputFileHandler getOutputFileHandler(String outputFile) {
        return getPlugin(outputFile);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy