Groovy Documentation

org.gradle.tooling.model
[Java] Interface Project


public interface Project

Represents a Gradle project.


Method Summary
DomainObjectSet getChildren()

Returns the child projects of this project.

java.lang.String getName()

Returns the name of this project.

Project getParent()

Returns the parent project of this project, if any.

java.io.File getProjectDirectory()

Returns the project directory for this project.

 

Method Detail

getChildren

public DomainObjectSet getChildren()
Returns the child projects of this project.
Returns:
The child projects. Returns an empty set if this project has no children.


getName

public java.lang.String getName()
Returns the name of this project.
Returns:
The name.


getParent

public Project getParent()
Returns the parent project of this project, if any.
Returns:
The parent, or null if this project has no parent.


getProjectDirectory

public java.io.File getProjectDirectory()
Returns the project directory for this project.
Returns:
The project directory. Does not return null.


 

Groovy Documentation