liquibase.io.OutputFileHandlerFactory Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy