org.gradle.tooling.model
Interface HierarchicalProject

All Superinterfaces:
Element, HierarchicalElement, Project
All Known Subinterfaces:
EclipseProject, HierarchicalEclipseProject

Deprecated. Use HierarchicalElement or one of its subtypes instead.

@Deprecated
public interface HierarchicalProject
extends Project, HierarchicalElement

Represents a project which belongs to some hierarchy.


Method Summary
 DomainObjectSet<? extends HierarchicalProject> getChildren()
          Deprecated. Returns the child projects of this project.
 HierarchicalProject getParent()
          Deprecated. 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()
Deprecated. 
Returns the parent project of this project, if any.

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

getChildren

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

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