com.github.nagyesta.lowkeyvault.context.ApiVersionAware Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lowkey-vault-app Show documentation
Show all versions of lowkey-vault-app Show documentation
Assembled application of Lowkey Vault.
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();
}