org.gradle.tooling.model.eclipse
Interface EclipseProject

All Superinterfaces:
BuildableProject, HierarchicalEclipseProject, HierarchicalProject, Project

public interface EclipseProject
extends HierarchicalEclipseProject, BuildableProject

The complete model of an Eclipse project.

Note that the names of Eclipse projects are unique, and can be used as an identifier for the project.


Method Summary
 DomainObjectSet<? extends EclipseProject> getChildren()
          Returns the child projects of this project.
 DomainObjectSet<? extends ExternalDependency> getClasspath()
          Returns the external dependencies which make up the classpath of this project.
 EclipseProject getParent()
          Returns the parent project of this project, if any.
 DomainObjectSet<? extends EclipseTask> getTasks()
          Returns the tasks of this project.
 
Methods inherited from interface org.gradle.tooling.model.eclipse.HierarchicalEclipseProject
getProjectDependencies, getSourceDirectories
 
Methods inherited from interface org.gradle.tooling.model.Project
getDescription, getName, getPath, getProjectDirectory
 

Method Detail

getParent

EclipseProject getParent()
Returns the parent project of this project, if any.

Specified by:
getParent in interface HierarchicalEclipseProject
Specified by:
getParent in interface HierarchicalProject
Returns:
The parent, or null if this project has no parent.

getChildren

DomainObjectSet<? extends EclipseProject> getChildren()
Returns the child projects of this project.

Specified by:
getChildren in interface HierarchicalEclipseProject
Specified by:
getChildren in interface HierarchicalProject
Returns:
The child projects. Returns an empty set if this project has no children.

getTasks

DomainObjectSet<? extends EclipseTask> getTasks()
Returns the tasks of this project.

Specified by:
getTasks in interface BuildableProject
Returns:
The tasks.

getClasspath

DomainObjectSet<? extends ExternalDependency> getClasspath()
Returns the external dependencies which make up the classpath of this project.

Returns:
The dependencies. Returns an empty set if the project has no external dependencies.