api / org.gradle.plugins.ide.eclipse.model / Classpath

Classpath

open class Classpath : XmlPersistableConfigurationObject

Represents the customizable elements of an eclipse classpath file. (via XML hooks everything is customizable).

Constructors

<init>

Classpath(xmlTransformer: XmlTransformer, fileReferenceFactory: FileReferenceFactory)
Classpath(fileReferenceFactory: FileReferenceFactory)
Classpath()

Functions

configure

open fun configure(newEntries: MutableList<Any?>): Any

equals

open fun equals(o: Any): Boolean

fileReference

open fun fileReference(reference: Any): FileReference

Creates a new FileReference instance.

The created object can be used to configure custom source or javadoc location on Library and on Variable objects.

This method can receive either String or File instances.

getEntries

open fun getEntries(): MutableList<ClasspathEntry>

hashCode

open fun hashCode(): Int

setEntries

open fun setEntries(entries: MutableList<ClasspathEntry>): Unit

toString

open fun toString(): String