Package org.gradle.tooling.model.eclipse
Interface HierarchicalEclipseProject
-
- All Superinterfaces:
Element,HasGradleProject,HierarchicalElement,Model,ProjectModel
- All Known Subinterfaces:
EclipseProject
public interface HierarchicalEclipseProject extends HierarchicalElement, HasGradleProject
Represents the basic information about an Eclipse project.- Since:
- 1.0-milestone-3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DomainObjectSet<? extends HierarchicalEclipseProject>getChildren()Returns the child elements, or the empty set if there are no child elements.DomainObjectSet<? extends EclipseLinkedResource>getLinkedResources()Returns the linked resources for this project.HierarchicalEclipseProjectgetParent()Returns the parent of this element, ornullif there is no parent.DomainObjectSet<? extends EclipseProjectDependency>getProjectDependencies()Returns the project dependencies for this project.java.io.FilegetProjectDirectory()Returns the project directory for this project.DomainObjectSet<? extends EclipseSourceDirectory>getSourceDirectories()Returns the source directories for this project.-
Methods inherited from interface org.gradle.tooling.model.Element
getDescription, getName
-
Methods inherited from interface org.gradle.tooling.model.HasGradleProject
getGradleProject, getProjectIdentifier
-
-
-
-
Method Detail
-
getParent
HierarchicalEclipseProject getParent()
Returns the parent of this element, ornullif there is no parent.- Specified by:
getParentin interfaceHierarchicalElement- Returns:
- The parent of this element, or
nullif there is no parent.
-
getChildren
DomainObjectSet<? extends HierarchicalEclipseProject> getChildren()
Returns the child elements, or the empty set if there are no child elements.- Specified by:
getChildrenin interfaceHierarchicalElement- Returns:
- The child elements, or the empty set if there are no child elements.
-
getProjectDependencies
DomainObjectSet<? 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
-
getSourceDirectories
DomainObjectSet<? 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
-
getLinkedResources
DomainObjectSet<? extends EclipseLinkedResource> getLinkedResources()
Returns the linked resources for this project.- Returns:
- The linked resources.
- Since:
- 1.0-milestone-4
-
getProjectDirectory
java.io.File getProjectDirectory() throws UnsupportedMethodExceptionReturns 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
-
-