org.gradle.tooling.model
Interface Project

All Known Subinterfaces:
EclipseProject

public interface Project

Represents a Gradle project.


Method Summary
 DomainObjectSet<? extends Project> getChildren()
          Returns the child projects of this project.
 String getName()
          Returns the name of this project.
 Project getParent()
          Returns the parent project of this project, if any.
 File getProjectDirectory()
          Returns the project directory for this project.
 

Method Detail

getName

String getName()
Returns the name of this project.

Returns:
The name.

getProjectDirectory

File getProjectDirectory()
Returns the project directory for this project.

Returns:
The project directory. Does not return null.

getParent

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

Returns:
The parent, or null if this project has no parent.

getChildren

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

Returns:
The child projects. Returns an empty set if this project has no children.