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

global.maplink.extensions.SdkExtension Maven / Gradle / Ivy

The newest version!
package global.maplink.extensions;

import global.maplink.MapLinkSDK;

public interface SdkExtension extends Comparable {

    int DEFAULT_PRIORITY = 1000;

    default void initialize(MapLinkSDK sdk) {
    }

    String getName();

    default int getPriority() {
        return DEFAULT_PRIORITY;
    }

    @Override
    default int compareTo(SdkExtension o) {
        if (o == null) {
            return 1;
        }
        return Integer.compare(getPriority(), o.getPriority());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy