|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModuleRootModel
Interface providing root information model for a given module.
| Method Summary | ||
|---|---|---|
VirtualFile |
getCompilerOutputPath()
Returns a compiler output path for production sources of the module, if it is valid. |
|
VirtualFile |
getCompilerOutputPathForTests()
Returns a compiler output path for test sources of the module, if it is valid. |
|
java.lang.String |
getCompilerOutputPathForTestsUrl()
Returns a compiler output path url for test sources of the module. |
|
java.lang.String |
getCompilerOutputPathUrl()
Returns a compiler output path url for production sources of the module. |
|
ContentEntry[] |
getContentEntries()
Use this method to obtain all content entries of a module. |
|
VirtualFile[] |
getContentRoots()
Returns an array of content roots from all content entries. |
|
java.lang.String[] |
getContentRootUrls()
Returns an array of content root urls from all content entries. |
|
java.lang.String[] |
getDependencyModuleNames()
Returns list of module names this module depends on. |
|
VirtualFile[] |
getExcludeRoots()
Returns an array of exclude roots from all content entries. |
|
java.lang.String[] |
getExcludeRootUrls()
Returns an array of exclude root urls from all content entries. |
|
VirtualFile |
getExplodedDirectory()
Returns an exploded directory path of the module, if it is valid. |
|
java.lang.String |
getExplodedDirectoryUrl()
Returns an exploded directory path url. |
|
VirtualFile[] |
getJavadocPaths()
Returns the list of javadoc roots for the module. |
|
java.lang.String[] |
getJavadocUrls()
Returns the list of javadoc root URLs for the module. |
|
ProjectJdk |
getJdk()
Returns the JDK used by the module. |
|
Module |
getModule()
Returns the module to which the model belongs. |
|
OrderEntry[] |
getOrderEntries()
Use this method to obtain order of roots of a module. |
|
VirtualFile[] |
getSourceRoots()
Returns an array of source roots from all content entries. |
|
java.lang.String[] |
getSourceRootUrls()
Returns an array of source root urls from all content entries. |
|
boolean |
isJdkInherited()
Returns true if JDK for this module is inherited from a project. |
|
|
processOrder(RootPolicy<R> policy,
R initialValue)
Passes all order entries in the module to the specified visitor. |
|
| Method Detail |
|---|
@NotNull Module getModule()
ContentEntry[] getContentEntries()
ContentEntryOrderEntry[] getOrderEntries()
@Nullable ProjectJdk getJdk()
isJdkInherited()boolean isJdkInherited()
true if JDK for this module is inherited from a project.
ProjectRootManager.getProjectJdk(),
ProjectRootManager.setProjectJdk(com.intellij.openapi.projectRoots.ProjectJdk)VirtualFile[] getContentRoots()
getContentEntries()java.lang.String[] getContentRootUrls()
getContentEntries()VirtualFile[] getExcludeRoots()
getContentEntries()java.lang.String[] getExcludeRootUrls()
getContentEntries()VirtualFile[] getSourceRoots()
getContentEntries()java.lang.String[] getSourceRootUrls()
getContentEntries()@Nullable VirtualFile getCompilerOutputPath()
@Nullable java.lang.String getCompilerOutputPathUrl()
@Nullable VirtualFile getCompilerOutputPathForTests()
java.lang.String getCompilerOutputPathForTestsUrl()
@Nullable VirtualFile getExplodedDirectory()
@Nullable java.lang.String getExplodedDirectoryUrl()
<R> R processOrder(RootPolicy<R> policy,
R initialValue)
policy - the visitor to accept.initialValue - the default value to be returned by the visit process.
OrderEntry.accept(RootPolicy, Object)java.lang.String[] getDependencyModuleNames()
VirtualFile[] getJavadocPaths()
java.lang.String[] getJavadocUrls()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||