Package org.gradle.tooling.model
Interface HierarchicalElement
- All Known Subinterfaces:
- BasicIdeaProject,- EclipseProject,- GradleProject,- HierarchicalEclipseProject,- IdeaModule,- IdeaProject
Represents an element which belongs to some hierarchy.
- Since:
- 1.0-milestone-5
- 
Method SummaryModifier and TypeMethodDescriptionDomainObjectSet<? extends HierarchicalElement> Returns the child elements, or the empty set if there are no child elements.Returns the parent of this element, ornullif there is no parent.Methods inherited from interface org.gradle.tooling.model.ElementgetDescription, getName
- 
Method Details- 
getParentReturns the parent of this element, ornullif there is no parent.- Returns:
- The parent of this element, or nullif there is no parent.
- Since:
- 1.0-milestone-5
 
- 
getChildrenDomainObjectSet<? extends HierarchicalElement> getChildren()Returns the child elements, or the empty set if there are no child elements.- Returns:
- The child elements, or the empty set if there are no child elements.
- Since:
- 1.0-milestone-5
 
 
-