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 Details

    • getParent

      Returns the parent of this element, or null if there is no parent.
      Specified by:
      getParent in interface HierarchicalElement
      Returns:
      The parent of this element, or null if there is no parent.
    • getChildren

      Returns the child elements, or the empty set if there are no child elements.
      Specified by:
      getChildren in interface HierarchicalElement
      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

      File getProjectDirectory() throws UnsupportedMethodException
      Returns 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