public interface SdkModificator
Sdk
roots, home path etc.Sdk.getSdkModificator()
setHomePath(String)
commitChanges()
Modifier and Type | Method and Description |
---|---|
default void |
addRoot(java.lang.String url,
OrderRootType rootType) |
void |
addRoot(VirtualFile root,
OrderRootType rootType) |
void |
commitChanges() |
java.lang.String |
getHomePath() |
java.lang.String |
getName() |
VirtualFile [] |
getRoots(OrderRootType rootType) |
SdkAdditionalData |
getSdkAdditionalData() |
default java.lang.String [] |
getUrls(OrderRootType rootType) |
java.lang.String |
getVersionString() |
boolean |
isWritable() |
void |
removeAllRoots() |
default void |
removeRoot(java.lang.String url,
OrderRootType rootType) |
void |
removeRoot(VirtualFile root,
OrderRootType rootType) |
void |
removeRoots(OrderRootType rootType) |
void |
setHomePath(java.lang.String path) |
void |
setName(java.lang.String name) |
void |
setSdkAdditionalData(SdkAdditionalData data) |
void |
setVersionString(java.lang.String versionString) |
java.lang.String getName()
void setName(java.lang.String name)
java.lang.String getHomePath()
void setHomePath(java.lang.String path)
java.lang.String getVersionString()
void setVersionString(java.lang.String versionString)
SdkAdditionalData getSdkAdditionalData()
void setSdkAdditionalData(SdkAdditionalData data)
VirtualFile [] getRoots(OrderRootType rootType)
default java.lang.String [] getUrls(OrderRootType rootType)
void addRoot(VirtualFile root, OrderRootType rootType)
default void addRoot(java.lang.String url, OrderRootType rootType)
void removeRoot(VirtualFile root, OrderRootType rootType)
default void removeRoot(java.lang.String url, OrderRootType rootType)
void removeRoots(OrderRootType rootType)
void removeAllRoots()
void commitChanges()
boolean isWritable()