# 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.

#### Since

1.0-milestone-3

## Functions

getBuildCommands
Link copied to clipboard
abstract fun getBuildCommands(): DomainObjectSet<out EclipseBuildCommand>
Returns the Eclipse build commands configured on the project.
getChildren
Link copied to clipboard
abstract fun getChildren(): DomainObjectSet<out HierarchicalElement>
abstract fun getChildren(): DomainObjectSet<out EclipseProject>
getClasspath
Link copied to clipboard
abstract fun getClasspath(): DomainObjectSet<out EclipseExternalDependency>
Returns the external dependencies which make up the classpath of this project.
getClasspathContainers
Link copied to clipboard
abstract fun getClasspathContainers(): DomainObjectSet<out EclipseClasspathContainer>
Returns the Eclipse classpath containers defined on the project.
getDescription
Link copied to clipboard
abstract fun getDescription(): @Nullable String
getGradleProject
Link copied to clipboard
abstract fun getGradleProject(): GradleProject
The gradle project that is associated with this project.
getJavaSourceSettings
Link copied to clipboard
@Nullable
abstract fun getJavaSourceSettings(): @Nullable EclipseJavaSourceSettings
Returns the Java source settings for this project.
getLinkedResources
Link copied to clipboard
abstract fun getLinkedResources(): DomainObjectSet<out EclipseLinkedResource>
getName
Link copied to clipboard
abstract fun getName(): String
getOutputLocation
Link copied to clipboard
abstract fun getOutputLocation(): EclipseOutputLocation
Returns the output location of this project.
getParent
Link copied to clipboard
abstract fun getParent(): @Nullable HierarchicalElement
abstract fun getParent(): EclipseProject
getProjectDependencies
Link copied to clipboard
abstract fun getProjectDependencies(): DomainObjectSet<out EclipseProjectDependency>
getProjectDirectory
Link copied to clipboard
abstract fun getProjectDirectory(): File
getProjectIdentifier
Link copied to clipboard
abstract fun getProjectIdentifier(): ProjectIdentifier
getProjectNatures
Link copied to clipboard
abstract fun getProjectNatures(): DomainObjectSet<out EclipseProjectNature>
Returns the Eclipse natures configured on the project.
getSourceDirectories
Link copied to clipboard
abstract fun getSourceDirectories(): DomainObjectSet<out EclipseSourceDirectory>
hasAutoBuildTasks
Link copied to clipboard
abstract fun hasAutoBuildTasks(): Boolean
If this method returns true then Eclipse should execute the tasks configured at `eclipse.autoBuildTasks` every time the auto-build is triggered for the target project.