public final class MavenChainedWorkspaceReader extends Object implements MavenWorkspaceReader
Modifier and Type | Method and Description |
---|---|
File |
findArtifact(org.eclipse.aether.artifact.Artifact artifact) |
Model |
findModel(org.eclipse.aether.artifact.Artifact artifact) |
List<String> |
findVersions(org.eclipse.aether.artifact.Artifact artifact) |
org.eclipse.aether.repository.WorkspaceRepository |
getRepository() |
static org.eclipse.aether.repository.WorkspaceReader |
of(Collection<org.eclipse.aether.repository.WorkspaceReader> workspaceReaderCollection)
chains a collection of
WorkspaceReader s |
public Model findModel(org.eclipse.aether.artifact.Artifact artifact)
findModel
in interface MavenWorkspaceReader
public org.eclipse.aether.repository.WorkspaceRepository getRepository()
getRepository
in interface org.eclipse.aether.repository.WorkspaceReader
public File findArtifact(org.eclipse.aether.artifact.Artifact artifact)
findArtifact
in interface org.eclipse.aether.repository.WorkspaceReader
public List<String> findVersions(org.eclipse.aether.artifact.Artifact artifact)
findVersions
in interface org.eclipse.aether.repository.WorkspaceReader
public static org.eclipse.aether.repository.WorkspaceReader of(Collection<org.eclipse.aether.repository.WorkspaceReader> workspaceReaderCollection)
WorkspaceReader
sworkspaceReaderCollection
- the collection of readers, might be empty but never null
MavenChainedWorkspaceReader
chaining all readers in the order of the given collection.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.