Package org.gradle.tooling.model.eclipse
Interface HierarchicalEclipseProject
- All Superinterfaces:
- Element,- HasGradleProject,- HierarchicalElement,- Model,- ProjectModel
- All Known Subinterfaces:
- EclipseProject
Represents the basic information about an Eclipse project.
- Since:
- 1.0-milestone-3
- 
Method SummaryModifier and TypeMethodDescriptionDomainObjectSet<? extends HierarchicalEclipseProject> Returns the child elements, or the empty set if there are no child elements.DomainObjectSet<? extends EclipseLinkedResource> Returns the linked resources for this project.Returns the parent of this element, ornullif there is no parent.DomainObjectSet<? extends EclipseProjectDependency> Returns the project dependencies for this project.Returns the project directory for this project.DomainObjectSet<? extends EclipseSourceDirectory> Returns the source directories for this project.Methods inherited from interface org.gradle.tooling.model.ElementgetDescription, getNameMethods inherited from interface org.gradle.tooling.model.HasGradleProjectgetGradleProject, getProjectIdentifier
- 
Method Details- 
getParentHierarchicalEclipseProject getParent()Returns the parent of this element, ornullif there is no parent.- Specified by:
- getParentin interface- HierarchicalElement
- Returns:
- The parent of this element, or nullif there is no parent.
 
- 
getChildrenDomainObjectSet<? extends HierarchicalEclipseProject> getChildren()Returns the child elements, or the empty set if there are no child elements.- Specified by:
- getChildrenin interface- HierarchicalElement
- Returns:
- The child elements, or the empty set if there are no child elements.
 
- 
getProjectDependenciesDomainObjectSet<? extends EclipseProjectDependency> getProjectDependencies()Returns the project dependencies for this project.- Returns:
- The project dependencies. Returns an empty set if the project has no project dependencies.
- Since:
- 1.0-milestone-3
 
- 
getSourceDirectoriesDomainObjectSet<? extends EclipseSourceDirectory> getSourceDirectories()Returns the source directories for this project.- Returns:
- The source directories. Returns an empty set if the project has no source directories.
- Since:
- 1.0-milestone-3
 
- 
getLinkedResourcesDomainObjectSet<? extends EclipseLinkedResource> getLinkedResources()Returns the linked resources for this project.- Returns:
- The linked resources.
- Since:
- 1.0-milestone-4
 
- 
getProjectDirectoryReturns the project directory for this project.- Returns:
- The project directory.
- Throws:
- UnsupportedMethodException- For Gradle versions older than 1.0-milestone-9, where this method is not supported.
- Since:
- 1.0-milestone-9
 
 
-