public abstract class ProjectJdkTable
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ProjectJdkTable.Adapter |
static interface |
ProjectJdkTable.Listener |
Modifier and Type | Field and Description |
---|---|
static Topic<ProjectJdkTable.Listener> |
JDK_TABLE_TOPIC |
Constructor and Description |
---|
ProjectJdkTable() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addJdk(Sdk jdk) |
void |
addJdk(Sdk jdk,
Disposable parentDisposable) |
abstract Sdk |
createSdk(java.lang.String name,
SdkTypeId sdkType) |
abstract Sdk |
findJdk(java.lang.String name) |
abstract Sdk |
findJdk(java.lang.String name,
java.lang.String type) |
Sdk |
findMostRecentSdk(Condition<? super Sdk> condition)
Deprecated.
comparing version strings across SDK types makes no sense; use
findMostRecentSdkOfType(com.intellij.openapi.projectRoots.SdkTypeId) |
Sdk |
findMostRecentSdkOfType(SdkTypeId type) |
abstract Sdk [] |
getAllJdks() |
abstract SdkTypeId |
getDefaultSdkType() |
static ProjectJdkTable |
getInstance() |
abstract java.util.List<Sdk> |
getSdksOfType(SdkTypeId type) |
abstract SdkTypeId |
getSdkTypeByName(java.lang.String name) |
abstract void |
removeJdk(Sdk jdk) |
abstract void |
updateJdk(Sdk originalJdk,
Sdk modifiedJdk) |
public static final Topic<ProjectJdkTable.Listener> JDK_TABLE_TOPIC
public static ProjectJdkTable getInstance()
public abstract Sdk findJdk(java.lang.String name)
public abstract Sdk findJdk(java.lang.String name, java.lang.String type)
public abstract Sdk [] getAllJdks()
@Deprecated public Sdk findMostRecentSdk(Condition<? super Sdk> condition)
findMostRecentSdkOfType(com.intellij.openapi.projectRoots.SdkTypeId)
public abstract void addJdk(Sdk jdk)
public void addJdk(Sdk jdk, Disposable parentDisposable)
public abstract void removeJdk(Sdk jdk)
public abstract SdkTypeId getDefaultSdkType()
public abstract SdkTypeId getSdkTypeByName(java.lang.String name)