org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObjectpublic class Classpath
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
| Constructor | Description |
|---|---|
Classpath() |
|
Classpath(org.gradle.internal.xml.XmlTransformer xmlTransformer,
org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory) |
|
Classpath(org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
configure(java.util.List newEntries) |
|
boolean |
equals(java.lang.Object o) |
|
FileReference |
fileReference(java.lang.Object reference) |
Creates a new
FileReference instance. |
protected java.lang.String |
getDefaultResourceName() |
|
java.util.List<ClasspathEntry> |
getEntries() |
|
int |
hashCode() |
|
protected void |
load(Node xml) |
|
void |
setEntries(java.util.List<ClasspathEntry> entries) |
|
protected void |
store(Node xml) |
|
java.lang.String |
toString() |
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformActionpublic Classpath(org.gradle.internal.xml.XmlTransformer xmlTransformer,
org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory)
public Classpath(org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory)
public Classpath()
public java.util.List<ClasspathEntry> getEntries()
public void setEntries(java.util.List<ClasspathEntry> entries)
protected java.lang.String getDefaultResourceName()
getDefaultResourceName in class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObjectprotected void load(Node xml)
load in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObjectpublic java.lang.Object configure(java.util.List newEntries)
protected void store(Node xml)
store in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic FileReference fileReference(java.lang.Object reference)
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.
reference - The object to transform into a new file reference. Can be instance of File or String.AbstractLibrary.setJavadocPath(FileReference),
AbstractLibrary.setSourcePath(FileReference)