Class Classpath
java.lang.Object
org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
org.gradle.plugins.ide.eclipse.model.Classpath
- All Implemented Interfaces:
- org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject
public class Classpath
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Represents the customizable elements of an eclipse classpath file. (via XML hooks everything is customizable).
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanfileReference(Object reference) Creates a newFileReferenceinstance.protected StringinthashCode()protected voidvoidsetEntries(List<ClasspathEntry> entries) protected voidtoString()Methods inherited from class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObjectfindFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformActionMethods inherited from class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObjectload, loadDefaults, store
- 
Constructor Details- 
Classpathpublic Classpath(org.gradle.internal.xml.XmlTransformer xmlTransformer, org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory) 
- 
Classpathpublic Classpath(org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory) 
- 
Classpathpublic Classpath()
 
- 
- 
Method Details- 
getEntries
- 
setEntries
- 
getDefaultResourceName- Specified by:
- getDefaultResourceNamein class- org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
 
- 
load- Overrides:
- loadin class- org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
 
- 
configure
- 
store- Overrides:
- storein class- org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
- 
fileReferenceCreates a newFileReferenceinstance.The created object can be used to configure custom source or javadoc location on Libraryand onVariableobjects.This method can receive either String or File instances. - Parameters:
- reference- The object to transform into a new file reference. Can be instance of File or String.
- Returns:
- The new file reference.
- See Also:
 
 
-