api / org.gradle.tooling.model.eclipse / HierarchicalEclipseProject

HierarchicalEclipseProject

interface HierarchicalEclipseProject : HierarchicalElement, HasGradleProject

Represents the basic information about an Eclipse project.

Since
1.0-milestone-3

Functions

getChildren

abstract fun getChildren(): DomainObjectSet<out HierarchicalEclipseProject>

{@inheritDoc}

getLinkedResources

abstract fun getLinkedResources(): DomainObjectSet<out EclipseLinkedResource>

Returns the linked resources for this project.

getParent

abstract fun getParent(): HierarchicalEclipseProject

{@inheritDoc}

getProjectDependencies

abstract fun getProjectDependencies(): DomainObjectSet<out EclipseProjectDependency>

Returns the project dependencies for this project.

getProjectDirectory

abstract fun getProjectDirectory(): File

Returns the project directory for this project.

getSourceDirectories

abstract fun getSourceDirectories(): DomainObjectSet<out EclipseSourceDirectory>

Returns the source directories for this project.

Inherited Functions

getGradleProject

abstract fun getGradleProject(): GradleProject

The associated Gradle project. Via the gradle project you can access (list, run, etc.) Gradle tasks.

getProjectIdentifier

abstract fun getProjectIdentifier(): ProjectIdentifier

Returns the identifier for the project that this model is associated with.

Inheritors

EclipseProject

interface EclipseProject : HierarchicalEclipseProject

The complete model of an Eclipse project.

Note that the names of Eclipse projects are unique, and can be used as an identifier for the project.