|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intellij.openapi.roots.ModuleRootManager
public abstract class ModuleRootManager
Interface for getting information about the contents and dependencies of a module.
| Constructor Summary | |
|---|---|
ModuleRootManager()
|
|
| Method Summary | |
|---|---|
abstract Module[] |
getDependencies()
Returns the list of modules on which the current module directly depends. |
abstract ModuleFileIndex |
getFileIndex()
Returns the file index for the current module. |
abstract VirtualFile[] |
getFiles(OrderRootType type)
Returns the list of roots of the specified type for the current module and all modules it depends on. |
static ModuleRootManager |
getInstance(Module module)
Returns the module root manager instance for the specified module. |
abstract ModifiableRootModel |
getModifiableModel()
Returns the interface for modifying the set of roots for this module. |
abstract java.lang.String[] |
getUrls(OrderRootType type)
Returns the list of URLs of roots of the specified type for the current module and all modules it depends on. |
abstract boolean |
isDependsOn(Module module)
Checks if the current module directly depends on the specified module. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.intellij.openapi.roots.ModuleRootModel |
|---|
getCompilerOutputPath, getCompilerOutputPathForTests, getCompilerOutputPathForTestsUrl, getCompilerOutputPathUrl, getContentEntries, getContentRoots, getContentRootUrls, getDependencyModuleNames, getExcludeRoots, getExcludeRootUrls, getExplodedDirectory, getExplodedDirectoryUrl, getJavadocPaths, getJavadocUrls, getJdk, getModule, getOrderEntries, getSourceRoots, getSourceRootUrls, isJdkInherited, processOrder |
| Constructor Detail |
|---|
public ModuleRootManager()
| Method Detail |
|---|
public static ModuleRootManager getInstance(Module module)
module - the module for which the root manager is requested.
public abstract VirtualFile[] getFiles(OrderRootType type)
type - the type of roots requested.
public abstract java.lang.String[] getUrls(OrderRootType type)
type - the type of roots requested.
@NotNull public abstract ModuleFileIndex getFileIndex()
@NotNull public abstract ModifiableRootModel getModifiableModel()
public abstract Module[] getDependencies()
public abstract boolean isDependsOn(Module module)
module is contained in the list of dependencies for the current module, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||