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

EclipseSourceDirectory

interface EclipseSourceDirectory : SourceDirectory, EclipseClasspathEntry

A source directory in an Eclipse project.

Functions

getClasspathAttributes

abstract fun getClasspathAttributes(): DomainObjectSet<out ClasspathAttribute>

{@inheritDoc}

getExcludes

abstract fun getExcludes(): MutableList<String>

Returns the exclude patterns for this source directory.

getIncludes

abstract fun getIncludes(): MutableList<String>

Returns the include patterns for this source directory.

getOutput

abstract fun getOutput(): String

Returns the output location of this source directory. If null, then the compiled classes are placed in the project's default output location.

getPath

abstract fun getPath(): String

Returns the relative path for this source directory.

Inherited Functions

getAccessRules

abstract fun getAccessRules(): DomainObjectSet<out AccessRule>

Returns the access rules associated with this classpath entry.

getDirectory

abstract fun getDirectory(): File

Returns the source directory.