Groovy Documentation

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

org.gradle.plugins.ide.idea.model.Project
  org.gradle.tooling.model.Element
      org.gradle.tooling.model.Model
          org.gradle.tooling.model.HierarchicalElement
              org.gradle.tooling.model.HierarchicalProject
All Superinterfaces:
Project, Element, Model, HierarchicalElement

@Deprecated
public interface HierarchicalProject
extends HierarchicalElement, Project

Represents a project which belongs to some hierarchy.

deprecated:
If you acquire this model via the tooling api, please use GradleProject instead. For internal purposes use HierarchicalElement or one of its subtypes instead.


Field Summary
 
Fields inherited from class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
__$stMC, __timeStamp, __timeStamp__239_neverHappen1329177259540, __$stMC, __timeStamp, __timeStamp__239_neverHappen1329177258725
 
Method Summary
DomainObjectSet getChildren()

Returns the child projects of this project.

HierarchicalProject getParent()

Returns the parent project of this project, if any.

 
Methods inherited from class Project
configure, equals, getDefaultResourceName, hashCode, load, store
 
Methods inherited from interface HierarchicalElement
getChildren, getParent
 
Methods inherited from interface Element
getDescription, getName
 

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.


getParent

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


 

Gradle API 1.0-milestone-8