Class AbstractLibrary
java.lang.Object
org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
org.gradle.plugins.ide.eclipse.model.AbstractLibrary
- All Implemented Interfaces:
ClasspathEntry
Common superclass for the library elements.
- Since:
- 1.0
-
Field Summary
Fields inherited from class AbstractClasspathEntry
accessRules, COMPONENT_DEPENDENCY_ATTRIBUTE, COMPONENT_NON_DEPENDENCY_ATTRIBUTE, entryAttributes, exported, path -
Constructor Summary
ConstructorsConstructorDescriptionAbstractLibrary(Node node, org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory) Creates a newAbstractLibrary.AbstractLibrary(FileReference library) Creates a newAbstractLibrary. -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNode(Node node) Append node.booleanReturns the javadoc path.Returns the library.@Nullable ModuleVersionIdentifierReturns the module version.Returns the source path.inthashCode()voidsetJavadocPath(FileReference path) Sets the javadoc path.voidsetLibrary(FileReference library) Sets the library.voidsetModuleVersion(@Nullable ModuleVersionIdentifier moduleVersion) Sets the module version.voidsetSourcePath(FileReference sourcePath) Sets the source path.toString()Methods inherited from class AbstractClasspathEntry
addClasspathEntry, getAccessRules, getEntryAttributes, getNativeLibraryLocation, getPath, isExported, normalizePath, setAccessRules, setExported, setNativeLibraryLocation, setPath, writeEntryAttributesMethods inherited from interface ClasspathEntry
getKind
-
Constructor Details
-
AbstractLibrary
public AbstractLibrary(Node node, org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory) Creates a newAbstractLibrary.- Since:
- 1.0
-
AbstractLibrary
-
-
Method Details
-
getSourcePath
-
setSourcePath
-
getJavadocPath
-
setJavadocPath
-
getLibrary
-
setLibrary
-
getModuleVersion
-
setModuleVersion
Sets the module version.- Since:
- 1.1
-
appendNode
Description copied from interface:ClasspathEntryAppend node.- Specified by:
appendNodein interfaceClasspathEntry- Overrides:
appendNodein classAbstractClasspathEntry
-
equals
- Overrides:
equalsin classAbstractClasspathEntry
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractClasspathEntry
-
toString
- Overrides:
toStringin classAbstractClasspathEntry
-