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

liquibase.servicelocator.PrioritizedService Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy