public interface WorkspaceReader
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.
|
WorkspaceRepository getRepository()
null
.File findArtifact(Artifact artifact)
artifact
- The artifact to locate, must not be null
.null
if the artifact is not available.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.