Class AbstractLibrary
- java.lang.Object
-
- org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
-
- org.gradle.plugins.ide.eclipse.model.AbstractLibrary
-
- All Implemented Interfaces:
ClasspathEntry
public abstract class AbstractLibrary extends AbstractClasspathEntry
Common superclass for the library elements.
-
-
Field Summary
-
Fields inherited from class org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
accessRules, COMPONENT_DEPENDENCY_ATTRIBUTE, COMPONENT_NON_DEPENDENCY_ATTRIBUTE, entryAttributes, exported, path
-
-
Constructor Summary
Constructors Constructor Description AbstractLibrary(Node node, org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory)AbstractLibrary(FileReference library)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendNode(Node node)booleanequals(java.lang.Object o)FileReferencegetJavadocPath()FileReferencegetLibrary()ModuleVersionIdentifiergetModuleVersion()FileReferencegetSourcePath()inthashCode()voidsetJavadocPath(FileReference path)voidsetLibrary(FileReference library)voidsetModuleVersion(ModuleVersionIdentifier moduleVersion)voidsetSourcePath(FileReference sourcePath)java.lang.StringtoString()-
Methods inherited from class org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
addClasspathEntry, getAccessRules, getEntryAttributes, getNativeLibraryLocation, getPath, isExported, normalizePath, setAccessRules, setExported, setNativeLibraryLocation, setPath, writeEntryAttributes
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gradle.plugins.ide.eclipse.model.ClasspathEntry
getKind
-
-
-
-
Constructor Detail
-
AbstractLibrary
public AbstractLibrary(Node node, org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory)
-
AbstractLibrary
public AbstractLibrary(FileReference library)
-
-
Method Detail
-
getSourcePath
public FileReference getSourcePath()
-
setSourcePath
public void setSourcePath(FileReference sourcePath)
-
getJavadocPath
public FileReference getJavadocPath()
-
setJavadocPath
public void setJavadocPath(FileReference path)
-
getLibrary
public FileReference getLibrary()
-
setLibrary
public void setLibrary(FileReference library)
-
getModuleVersion
@Nullable public ModuleVersionIdentifier getModuleVersion()
-
setModuleVersion
public void setModuleVersion(@Nullable ModuleVersionIdentifier moduleVersion)
-
appendNode
public void appendNode(Node node)
- Specified by:
appendNodein interfaceClasspathEntry- Overrides:
appendNodein classAbstractClasspathEntry
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractClasspathEntry
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractClasspathEntry
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractClasspathEntry
-
-