public interface HierarchicalEclipseProject extends HierarchicalElement
Modifier and Type | Method and 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.
|
HierarchicalEclipseProject |
getParent()
Returns the parent of this element, or
null if there is no parent. |
DomainObjectSet<? extends EclipseProjectDependency> |
getProjectDependencies()
Returns the project dependencies for this project.
|
File |
getProjectDirectory()
Returns the project directory for this project.
|
DomainObjectSet<? extends EclipseSourceDirectory> |
getSourceDirectories()
Returns the source directories for this project.
|
getDescription, getName
HierarchicalEclipseProject getParent()
null
if there is no parent.getParent
in interface HierarchicalElement
null
if there is no parent.DomainObjectSet<? extends HierarchicalEclipseProject> getChildren()
getChildren
in interface HierarchicalElement
DomainObjectSet<? extends EclipseProjectDependency> getProjectDependencies()
DomainObjectSet<? extends EclipseSourceDirectory> getSourceDirectories()
DomainObjectSet<? extends EclipseLinkedResource> getLinkedResources() throws UnsupportedMethodException
UnsupportedMethodException
- When the target Gradle version does not support this information.
You can safely catch ignore this exception and query the model for other information.File getProjectDirectory()