public class Classpath
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Constructor and Description |
---|
Classpath() |
Classpath(org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory) |
Classpath(org.gradle.internal.xml.XmlTransformer xmlTransformer,
org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
configure(List newEntries) |
boolean |
equals(Object o) |
FileReference |
fileReference(Object reference)
Creates a new
FileReference instance. |
protected String |
getDefaultResourceName() |
List<ClasspathEntry> |
getEntries() |
int |
hashCode() |
protected void |
load(Node xml) |
void |
setEntries(List<ClasspathEntry> entries) |
protected void |
store(Node xml) |
String |
toString() |
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformAction
public 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 List<ClasspathEntry> getEntries()
public void setEntries(List<ClasspathEntry> entries)
protected String getDefaultResourceName()
getDefaultResourceName
in class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
protected void load(Node xml)
load
in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
protected void store(Node xml)
store
in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
public FileReference fileReference(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)