# Class UnresolvedLibrary

java.lang.Object
org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
org.gradle.plugins.ide.eclipse.model.AbstractLibrary
org.gradle.plugins.ide.eclipse.model.Library
org.gradle.plugins.ide.eclipse.model.UnresolvedLibrary

All Implemented Interfaces:
  `ClasspathEntry`

public class UnresolvedLibrary extends Library
A library that turned out to be unresolved.

Since:
  6.7

- ## Field Summary

  ### Fields inherited from class AbstractClasspathEntry

  `accessRules, COMPONENT_DEPENDENCY_ATTRIBUTE, COMPONENT_NON_DEPENDENCY_ATTRIBUTE, entryAttributes, exported, path`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UnresolvedLibrary(FileReference library)`
  Creates a new `UnresolvedLibrary`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ComponentSelector`
  `getAttemptedSelector()`
  The attempted selector reported by the related UnresolvedDependencyResult
  `void`
  `setAttemptedSelector(ComponentSelector attemptedSelector)`
  Sets the attempted selector.

  ### Methods inherited from class Library

  `getKind, toString`

  ### Methods inherited from class AbstractLibrary

  `appendNode, equals, getJavadocPath, getLibrary, getModuleVersion, getSourcePath, hashCode, setJavadocPath, setLibrary, setModuleVersion, setSourcePath`

  ### Methods inherited from class AbstractClasspathEntry

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

  ### Methods inherited from class Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### UnresolvedLibrary

    public UnresolvedLibrary(FileReference library)
    Creates a new `UnresolvedLibrary`.
    Since:
      6.7

- ## Method Details

  - ### getAttemptedSelector

    public ComponentSelector getAttemptedSelector()
    The attempted selector reported by the related UnresolvedDependencyResult
    Since:
      6.7

  - ### setAttemptedSelector

    public void setAttemptedSelector(ComponentSelector attemptedSelector)
    Sets the attempted selector.
    Since:
      6.7