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

com.github.nagyesta.lowkeyvault.context.ApiVersionAware Maven / Gradle / Ivy

There is a newer version: 2.5.81
Show newest version
package com.github.nagyesta.lowkeyvault.context;

import com.github.nagyesta.lowkeyvault.model.common.ApiConstants;

import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;

public interface ApiVersionAware {

    /**
     * Supported API version collection containing all 7.3+ versions.
     */
    SortedSet V7_3_AND_LATER = new TreeSet<>(Set.of(ApiConstants.V_7_3, ApiConstants.V_7_4, ApiConstants.V_7_5));
    /**
     * Supported API version collection containing all versions (7.2, 7.3, 7.4 and 7.5).
     */
    SortedSet ALL_VERSIONS = new TreeSet<>(Set.of(ApiConstants.V_7_2, ApiConstants.V_7_3, ApiConstants.V_7_4, ApiConstants.V_7_5));

    SortedSet supportedVersions();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy