Package org.gradle.tooling.model.idea
Interface IdeaModule
- All Superinterfaces:
- Element,- HasGradleProject,- HierarchicalElement,- Model,- ProjectModel
Represents information about the IDEA module.
- Since:
- 1.0-milestone-5
- 
Method SummaryModifier and TypeMethodDescriptionReturns information about idea compiler output (output dirs, inheritance of output dir, etc.)DomainObjectSet<? extends IdeaContentRoot> All content roots.DomainObjectSet<? extends IdeaDependency> dependencies of this module (i.e.The gradle project that is associated with this module.Returns the Java language settings for this element, ornullif this element is not a Java element.Returns the name of the JDK.Returns the project of this module.Returns the project of this module.Methods inherited from interface org.gradle.tooling.model.ElementgetDescription, getNameMethods inherited from interface org.gradle.tooling.model.HasGradleProjectgetProjectIdentifierMethods inherited from interface org.gradle.tooling.model.HierarchicalElementgetChildren
- 
Method Details- 
getJavaLanguageSettingsReturns the Java language settings for this element, ornullif this element is not a Java element.- Returns:
- The Java language settings.
- Throws:
- UnsupportedMethodException- For Gradle versions older than 2.11, where this method is not supported.
- Since:
- 2.11
 
- 
getJdkNameReturns the name of the JDK.- Returns:
- The name of the JDK.
- Throws:
- UnsupportedMethodException
- Since:
- 3.4
 
- 
getContentRootsDomainObjectSet<? extends IdeaContentRoot> getContentRoots()All content roots. Most idea modules have a single content root.- Returns:
- content roots
- Since:
- 1.0-milestone-5
 
- 
getGradleProjectGradleProject getGradleProject()The gradle project that is associated with this module. Typically, a single module corresponds to a single gradle project.See HasGradleProject- Specified by:
- getGradleProjectin interface- HasGradleProject
- Returns:
- associated gradle project
- Since:
- 1.0-milestone-5
 
- 
getParentIdeaProject getParent()Returns the project of this module. Alias togetProject()- Specified by:
- getParentin interface- HierarchicalElement
- Returns:
- idea project
- Since:
- 1.0-milestone-5
 
- 
getProjectIdeaProject getProject()Returns the project of this module. Alias togetParent()- Returns:
- idea project
- Since:
- 1.0-milestone-5
 
- 
getCompilerOutputIdeaCompilerOutput getCompilerOutput()Returns information about idea compiler output (output dirs, inheritance of output dir, etc.)- Since:
- 1.0-milestone-5
 
- 
getDependenciesDomainObjectSet<? extends IdeaDependency> getDependencies()dependencies of this module (i.e. module dependencies, library dependencies, etc.)- Returns:
- dependencies
- Since:
- 1.0-milestone-5
 
 
-