public interface SdkTypeId
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getVersionString(Sdk sdk) |
default boolean |
isLocalSdk(Sdk sdk)
An SDK can be located on a local machine or on a remote or virtual machine.
|
SdkAdditionalData |
loadAdditionalData(Sdk currentSdk,
Element additional) |
void |
saveAdditionalData(SdkAdditionalData additionalData,
Element additional) |
default java.util.Comparator<Sdk> |
versionComparator()
Note to implementors: you may need to override this method if SDKs of this type have non-trivial version strings.
|
default java.util.Comparator<java.lang.String> |
versionStringComparator()
A comparator to compare versions of SDKs of that SdkType, e.g.
|
java.lang.String getName()
java.lang.String getVersionString(Sdk sdk)
void saveAdditionalData(SdkAdditionalData additionalData, Element additional)
SdkAdditionalData loadAdditionalData(Sdk currentSdk, Element additional)
default boolean isLocalSdk(Sdk sdk)
default java.util.Comparator<Sdk> versionComparator()
default java.util.Comparator<java.lang.String> versionStringComparator()
Sdk.getVersionString()
or SdkType.getVersionString(com.intellij.openapi.projectRoots.Sdk)
versionComparator()