public interface LibraryEditor
Modifier and Type | Method and Description |
---|---|
void |
addExcludedRoot(java.lang.String url) |
void |
addJarDirectory(java.lang.String url,
boolean recursive,
OrderRootType rootType) |
void |
addJarDirectory(VirtualFile file,
boolean recursive,
OrderRootType rootType) |
void |
addRoot(java.lang.String url,
OrderRootType rootType) |
void |
addRoot(VirtualFile file,
OrderRootType rootType) |
void |
addRoots(java.util.Collection<? extends OrderRoot> roots) |
java.lang.String [] |
getExcludedRootUrls() |
ProjectModelExternalSource |
getExternalSource() |
VirtualFile [] |
getFiles(OrderRootType rootType) |
java.lang.String |
getName() |
LibraryProperties |
getProperties() |
LibraryType<?> |
getType() |
java.lang.String [] |
getUrls(OrderRootType rootType) |
boolean |
hasChanges() |
boolean |
isJarDirectory(java.lang.String url,
OrderRootType rootType) |
boolean |
isValid(java.lang.String url,
OrderRootType orderRootType) |
void |
removeAllRoots() |
void |
removeExcludedRoot(java.lang.String url) |
void |
removeRoot(java.lang.String url,
OrderRootType rootType) |
void |
setName(java.lang.String name) |
java.lang.String getName()
java.lang.String [] getUrls(OrderRootType rootType)
VirtualFile [] getFiles(OrderRootType rootType)
java.lang.String [] getExcludedRootUrls()
void setName(java.lang.String name)
void addRoot(VirtualFile file, OrderRootType rootType)
void addRoot(java.lang.String url, OrderRootType rootType)
void addJarDirectory(VirtualFile file, boolean recursive, OrderRootType rootType)
void addJarDirectory(java.lang.String url, boolean recursive, OrderRootType rootType)
void addExcludedRoot(java.lang.String url)
void removeRoot(java.lang.String url, OrderRootType rootType)
void removeExcludedRoot(java.lang.String url)
void removeAllRoots()
boolean hasChanges()
boolean isJarDirectory(java.lang.String url, OrderRootType rootType)
boolean isValid(java.lang.String url, OrderRootType orderRootType)
LibraryProperties getProperties()
LibraryType<?> getType()
void addRoots(java.util.Collection<? extends OrderRoot> roots)
ProjectModelExternalSource getExternalSource()