public interface WorkspaceReader
Modifier and Type | Method and Description |
---|---|
java.io.File |
findArtifact(Artifact artifact)
Locates the specified artifact.
|
java.util.List<java.lang.String> |
findVersions(Artifact artifact)
Determines all available versions of the specified artifact.
|
WorkspaceRepository |
getRepository()
Gets a description of the workspace repository.
|
WorkspaceRepository getRepository()
null
.java.io.File findArtifact(Artifact artifact)
artifact
- The artifact to locate, must not be null
.null
if the artifact is not available.java.util.List<java.lang.String> findVersions(Artifact artifact)
artifact
- The artifact whose versions should be listed, must not be null
.null
.