org.eclipse.aether.repository

## Interface WorkspaceReader

- All Known Implementing Classes:
    ChainedWorkspaceReader

      public interface WorkspaceReader

  Manages a repository backed by the IDE workspace, a build session or a similar ad-hoc collection of artifacts.
  See Also:
    `RepositorySystemSession.getWorkspaceReader()`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `File` | `findArtifact(Artifact artifact)` Locates the specified artifact.
    `List<String>` | `findVersions(Artifact artifact)` Determines all available versions of the specified artifact.
    `WorkspaceRepository` | `getRepository()` Gets a description of the workspace repository.

- - ### Method Detail

    - #### getRepository

          WorkspaceRepository getRepository()

      Gets a description of the workspace repository.
      Returns:
        The repository description, never `null`.

    - #### findArtifact

          File findArtifact(Artifact artifact)

      Locates the specified artifact.
      Parameters:
        `artifact` - The artifact to locate, must not be `null`.
      Returns:
        The path to the artifact or `null` if the artifact is not available.

    - #### findVersions

          List<String> findVersions(Artifact artifact)

      Determines all available versions of the specified artifact.
      Parameters:
        `artifact` - The artifact whose versions should be listed, must not be `null`.
      Returns:
        The available versions of the artifact, must not be `null`.

Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.