Groovy Documentation

org.gradle.tooling.model.idea
[Java] Interface IdeaModule

org.gradle.tooling.model.idea.IdeaModule
  org.gradle.tooling.model.Model
      org.gradle.tooling.model.HasGradleProject
          org.gradle.tooling.model.HierarchicalElement
              org.gradle.tooling.model.Element
All Superinterfaces:
Model, HasGradleProject, HierarchicalElement, Element

public interface IdeaModule
extends HasGradleProject, HierarchicalElement

Represents information about the IDEA module.

Since:
1.0-milestone-5


Method Summary
IdeaCompilerOutput getCompilerOutput()

Returns information about idea compiler output (output dirs, inheritance of output dir, etc.)

DomainObjectSet getContentRoots()

All content roots.

DomainObjectSet getDependencies()

dependencies of this module (i.e. module dependencies, library dependencies, etc.)

GradleProject getGradleProject()

The gradle project that is associated with this module.

IdeaProject getParent()

Returns the project of this module.

IdeaProject getProject()

Returns the project of this module.

 
Methods inherited from interface HasGradleProject
getGradleProject
 
Methods inherited from interface HierarchicalElement
getChildren, getParent
 
Methods inherited from interface Element
getDescription, getName
 

Method Detail

getCompilerOutput

public IdeaCompilerOutput getCompilerOutput()
Returns information about idea compiler output (output dirs, inheritance of output dir, etc.)
Since:
1.0-milestone-5


getContentRoots

public DomainObjectSet getContentRoots()
All content roots. Most idea modules have a single content root.
Returns:
content roots
Since:
1.0-milestone-5


getDependencies

public DomainObjectSet getDependencies()
dependencies of this module (i.e. module dependencies, library dependencies, etc.)
Returns:
dependencies
Since:
1.0-milestone-5


getGradleProject

public GradleProject getGradleProject()
The gradle project that is associated with this module. Typically, a single module corresponds to a single gradle project.

See HasGradleProject

Returns:
associated gradle project
Since:
1.0-milestone-5


getParent

public IdeaProject getParent()
Returns the project of this module. Alias to getProject()
Returns:
idea project
Since:
1.0-milestone-5


getProject

public IdeaProject getProject()
Returns the project of this module. Alias to getParent()
Returns:
idea project
Since:
1.0-milestone-5


 

Gradle API 1.8