org.gradle.tooling.model
Interface HierarchicalProject

All Superinterfaces:
Project
All Known Subinterfaces:
EclipseProject, HierarchicalEclipseProject

public interface HierarchicalProject
extends Project

Represents a project which belongs to some hierarchy.


Method Summary
 DomainObjectSet<? extends HierarchicalProject> getChildren()
          Returns the child projects of this project.
 HierarchicalProject getParent()
          Returns the parent project of this project, if any.
 
Methods inherited from interface org.gradle.tooling.model.Project
getDescription, getName, getPath, getProjectDirectory
 

Method Detail

getParent

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

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

getChildren

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

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