liquibase.io.OutputFileHandlerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
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);
}
}