liquibase.servicelocator.PrioritizedService 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.servicelocator;
import java.util.Comparator;
public interface PrioritizedService {
Comparator COMPARATOR = (o1, o2) -> Integer.compare(o2.getPriority(), o1.getPriority());
int PRIORITY_DEFAULT = 1;
int PRIORITY_DATABASE = 5;
int getPriority();
}