Groovy Documentation

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

org.gradle.tooling.model.Model
  org.gradle.tooling.model.HierarchicalElement
      org.gradle.tooling.model.Element
          org.gradle.tooling.model.eclipse.HierarchicalEclipseProject
All Superinterfaces:
Model, HierarchicalElement, Element

public interface HierarchicalEclipseProject
extends HierarchicalElement

Represents the basic information about an Eclipse project.

Since:
1.0-milestone-3


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.

File getProjectDirectory()

Returns the project directory for this project.

DomainObjectSet getSourceDirectories()

Returns the source directories for this project.

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

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.
Since:
1.0-milestone-3


getProjectDirectory

public File getProjectDirectory()
Returns the project directory for this project.
Returns:
The project directory.
Since:
1.0-milestone-9


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.
Since:
1.0-milestone-3


 

Gradle API 1.8