Element
, HasGradleProject
, HierarchicalElement
, Model
, ProjectModel
public interface IdeaModule extends HierarchicalElement, HasGradleProject
Modifier and Type | Method | Description |
---|---|---|
IdeaCompilerOutput |
getCompilerOutput() |
Returns information about idea compiler output (output dirs, inheritance of output dir, etc.)
|
DomainObjectSet<? extends IdeaContentRoot> |
getContentRoots() |
All content roots.
|
DomainObjectSet<? extends IdeaDependency> |
getDependencies() |
dependencies of this module (i.e.
|
GradleProject |
getGradleProject() |
The gradle project that is associated with this module.
|
IdeaJavaLanguageSettings |
getJavaLanguageSettings() |
Returns the Java language settings for this element, or
null if this element is not a Java element. |
String |
getJdkName() |
Returns the name of the JDK.
|
IdeaProject |
getParent() |
Returns the project of this module.
|
IdeaProject |
getProject() |
Returns the project of this module.
|
getDescription, getName
getProjectIdentifier
getChildren
@Nullable IdeaJavaLanguageSettings getJavaLanguageSettings() throws UnsupportedMethodException
null
if this element is not a Java element.UnsupportedMethodException
- For Gradle versions older than 2.11, where this method is not supported.String getJdkName() throws UnsupportedMethodException
UnsupportedMethodException
DomainObjectSet<? extends IdeaContentRoot> getContentRoots()
GradleProject getGradleProject()
See HasGradleProject
getGradleProject
in interface HasGradleProject
IdeaProject getParent()
getProject()
getParent
in interface HierarchicalElement
IdeaProject getProject()
getParent()
IdeaCompilerOutput getCompilerOutput()
DomainObjectSet<? extends IdeaDependency> getDependencies()