Groovy Documentation

org.gradle.tooling.model.eclipse
[Java] Interface HierarchicalEclipseProject

org.gradle.plugins.ide.idea.model.Project
  org.gradle.tooling.model.Element
      org.gradle.tooling.model.eclipse.HierarchicalEclipseProject
          org.gradle.tooling.model.Model
              org.gradle.tooling.model.HierarchicalElement
                  org.gradle.tooling.model.HierarchicalProject
All Superinterfaces:
Project, Element, Model, HierarchicalElement, HierarchicalProject

public interface HierarchicalEclipseProject
extends HierarchicalElement, HierarchicalProject

Represents the basic information about an Eclipse project.


Method Summary
DomainObjectSet getChildren()

{@inheritDoc}

DomainObjectSet getLinkedResources()

Returns the linked resources for this project.

HierarchicalEclipseProject getParent()

{@inheritDoc}

DomainObjectSet getProjectDependencies()

Returns the project dependencies for this project.

DomainObjectSet getSourceDirectories()

Returns the source directories for this project.

 
Methods inherited from interface HierarchicalElement
getChildren, getParent
 
Methods inherited from interface HierarchicalProject
getChildren, getParent
 
Methods inherited from class Project
configure, equals, getDefaultResourceName, hashCode, load, store
 
Methods inherited from interface HierarchicalElement
getChildren, getParent
 

Method Detail

getChildren

public DomainObjectSet getChildren()
{@inheritDoc}


getLinkedResources

public DomainObjectSet getLinkedResources()
Returns the linked resources for this project.
throws:
org.gradle.tooling.model.UnsupportedMethodException When the target Gradle version does not support this information. You can safely catch ignore this exception and query the model for other information.
Returns:
The linked resources.
Since:
1.0-milestone-4


getParent

public HierarchicalEclipseProject getParent()
{@inheritDoc}


getProjectDependencies

public DomainObjectSet getProjectDependencies()
Returns the project dependencies for this project.
Returns:
The project dependencies. Returns an empty set if the project has no project dependencies.


getSourceDirectories

public DomainObjectSet getSourceDirectories()
Returns the source directories for this project.
Returns:
The source directories. Returns an empty set if the project has no source directories.


 

Gradle API 1.0-milestone-8