Groovy Documentation

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

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

@Deprecated
public interface HierarchicalProject
extends HierarchicalElement, Project

Represents a project which belongs to some hierarchy.

deprecated:
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_neverHappen1325771913639, __$stMC, __timeStamp, __timeStamp__239_neverHappen1325771913142
 
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.


 

Groovy Documentation