liquibase.sqlgenerator.SqlGeneratorComparator 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.
package liquibase.sqlgenerator;
import java.util.Comparator;
class SqlGeneratorComparator implements Comparator {
@Override
public int compare(SqlGenerator o1, SqlGenerator o2) {
return -1 * Integer.compare(o1.getPriority(), o2.getPriority());
}
}