Package org.eclipse.aether.repository
Interface WorkspaceReader
public interface WorkspaceReader
Manages a repository backed by the IDE workspace, a build session or a similar ad-hoc collection of artifacts.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionfindArtifact(Artifact artifact) Locates the specified artifact.default PathfindArtifactPath(Artifact artifact) Locates the specified artifact.findVersions(Artifact artifact) Determines all available versions of the specified artifact.Gets a description of the workspace repository.
- 
Method Details- 
getRepositoryGets a description of the workspace repository.- Returns:
- The repository description, never null.
 
- 
findArtifactLocates the specified artifact.- Parameters:
- artifact- The artifact to locate, must not be- null.
- Returns:
- The path to the artifact or nullif the artifact is not available.
 
- 
findArtifactPathLocates the specified artifact.- Parameters:
- artifact- The artifact to locate, must not be- null.
- Returns:
- The path to the artifact or nullif the artifact is not available.
- Since:
- 2.0.0
 
- 
findVersionsDetermines 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.
 
 
-