AbstractLibrary (Gradle API 2.14.1)

org.gradle.plugins.ide.eclipse.model

## Class AbstractLibrary

- java.lang.Object
- - groovy.lang.GroovyObjectSupport
  - - org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
    - - org.gradle.plugins.ide.eclipse.model.AbstractLibrary

- All Implemented Interfaces:
    GroovyObject, ClasspathEntry
  Direct Known Subclasses:
    Library, Variable

      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 and Description
    `AbstractLibrary(FileReference library)`
    `AbstractLibrary(Node node, org.gradle.plugins.ide.eclipse.model.internal.FileReferenceFactory fileReferenceFactory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `appendNode(Node node)`
    `boolean` | `equals(Object o)`
    `String` | `getDeclaredConfigurationName()` Deprecated.
    `FileReference` | `getJavadocPath()`
    `FileReference` | `getLibrary()`
    `ModuleVersionIdentifier` | `getModuleVersion()`
    `FileReference` | `getSourcePath()`
    `int` | `hashCode()`
    `void` | `setDeclaredConfigurationName(String declaredConfigurationName)` Deprecated.
    `void` | `setJavadocPath(FileReference path)`
    `void` | `setLibrary(FileReference library)`
    `void` | `setModuleVersion(ModuleVersionIdentifier moduleVersion)`
    `void` | `setSourcePath(FileReference sourcePath)`
    `String` | `toString()`

    - ### Methods inherited from class org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry

      `addClasspathEntry, getAccessRules, getEntryAttributes, getExported, getNativeLibraryLocation, getPath, isExported, normalizePath, setAccessRules, setExported, setNativeLibraryLocation, setPath, writeEntryAttributes`

    - ### Methods inherited from class groovy.lang.GroovyObjectSupport

      `getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty`

    - ### 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)

    - #### getDeclaredConfigurationName

          @Deprecated
          public String getDeclaredConfigurationName()

      Deprecated.

    - #### setDeclaredConfigurationName

          @Deprecated
          public void setDeclaredConfigurationName(String declaredConfigurationName)

      Deprecated.

    - #### getModuleVersion

          @Nullable
          public ModuleVersionIdentifier getModuleVersion()

    - #### setModuleVersion

          public void setModuleVersion(@Nullable
                              ModuleVersionIdentifier moduleVersion)

    - #### appendNode

          public void appendNode(Node node)

      Specified by:
        `appendNode` in interface `ClasspathEntry`
      Overrides:
        `appendNode` in class `AbstractClasspathEntry`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `AbstractClasspathEntry`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `AbstractClasspathEntry`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `AbstractClasspathEntry`