Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

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

    org.gradle.tooling.model.HierarchicalProject
      org.gradle.tooling.model.Element
          org.gradle.tooling.model.HierarchicalElement
              org.gradle.plugins.ide.idea.model.Project

All Superinterfaces:
  Element, Project, HierarchicalElement

    @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_neverHappen1321509988713, __$stMC, __timeStamp, __timeStamp__239_neverHappen1321509988345

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