|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.util.repository.ChainedWorkspaceReader
public class ChainedWorkspaceReader
A workspace reader that delegates to a chain of other readers, effectively aggregating their contents.
| Constructor Summary | |
|---|---|
ChainedWorkspaceReader(WorkspaceReader... readers)
Creates a new workspace reading by chaining the specified readers. |
|
| Method Summary | |
|---|---|
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. |
static WorkspaceReader |
newInstance(WorkspaceReader reader1,
WorkspaceReader reader2)
Creates a new workspace by chaining the specified readers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainedWorkspaceReader(WorkspaceReader... readers)
readers - The readers to chain, may be null.newInstance(WorkspaceReader, WorkspaceReader)| Method Detail |
|---|
public static WorkspaceReader newInstance(WorkspaceReader reader1,
WorkspaceReader reader2)
null.
reader1 - The first workspace reader, may be null.reader2 - The second workspace reader, may be null.
null if no workspace reader was supplied.public java.io.File findArtifact(Artifact artifact)
WorkspaceReader
findArtifact in interface WorkspaceReaderartifact - The artifact to locate, must not be null.
null if the artifact is not available.public java.util.List<java.lang.String> findVersions(Artifact artifact)
WorkspaceReader
findVersions in interface WorkspaceReaderartifact - The artifact whose versions should be listed, must not be null.
null.public WorkspaceRepository getRepository()
WorkspaceReader
getRepository in interface WorkspaceReadernull.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||