Package org.apache.maven.internal.aether
Class MavenChainedWorkspaceReader
java.lang.Object
org.apache.maven.internal.aether.MavenChainedWorkspaceReader
- All Implemented Interfaces:
- MavenWorkspaceReader,- org.eclipse.aether.repository.WorkspaceReader
A maven workspace reader that delegates to a chain of other readers, effectively aggregating their contents.
- 
Method SummaryModifier and TypeMethodDescriptionfindArtifact(org.eclipse.aether.artifact.Artifact artifact) findModel(org.eclipse.aether.artifact.Artifact artifact) findVersions(org.eclipse.aether.artifact.Artifact artifact) org.eclipse.aether.repository.WorkspaceRepositorystatic org.eclipse.aether.repository.WorkspaceReaderof(Collection<org.eclipse.aether.repository.WorkspaceReader> workspaceReaderCollection) chains a collection ofWorkspaceReaders
- 
Method Details- 
findModel- Specified by:
- findModelin interface- MavenWorkspaceReader
 
- 
getRepositorypublic org.eclipse.aether.repository.WorkspaceRepository getRepository()- Specified by:
- getRepositoryin interface- org.eclipse.aether.repository.WorkspaceReader
 
- 
findArtifact- Specified by:
- findArtifactin interface- org.eclipse.aether.repository.WorkspaceReader
 
- 
findVersions- Specified by:
- findVersionsin interface- org.eclipse.aether.repository.WorkspaceReader
 
- 
ofpublic static org.eclipse.aether.repository.WorkspaceReader of(Collection<org.eclipse.aether.repository.WorkspaceReader> workspaceReaderCollection) chains a collection ofWorkspaceReaders- Parameters:
- workspaceReaderCollection- the collection of readers, might be empty but never- null
- Returns:
- if the collection contains only one item returns the single item, otherwise creates a new
         MavenChainedWorkspaceReaderchaining all readers in the order of the given collection.
 
 
-