Package org.eclipse.tycho.p2.repository
Class LocalRepositoryReader
- java.lang.Object
-
- org.eclipse.tycho.p2.repository.LocalRepositoryReader
-
- All Implemented Interfaces:
RepositoryReader
public class LocalRepositoryReader extends java.lang.Object implements RepositoryReader
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.FilelocalMavenRepositoryRootprivate MavenRepositorySystemrepositorySystem
-
Constructor Summary
Constructors Constructor Description LocalRepositoryReader(java.io.File localMavenRepositoryRoot, MavenRepositorySystem repositorySystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetLocalArtifactLocation(GAV gav, java.lang.String classifier, java.lang.String extension)Returns the permanent, local file system location of the identified artifact.
-
-
-
Field Detail
-
localMavenRepositoryRoot
private final java.io.File localMavenRepositoryRoot
-
repositorySystem
private final MavenRepositorySystem repositorySystem
-
-
Constructor Detail
-
LocalRepositoryReader
public LocalRepositoryReader(java.io.File localMavenRepositoryRoot, MavenRepositorySystem repositorySystem)
-
-
Method Detail
-
getLocalArtifactLocation
public java.io.File getLocalArtifactLocation(GAV gav, java.lang.String classifier, java.lang.String extension)
Description copied from interface:RepositoryReaderReturns the permanent, local file system location of the identified artifact. This may trigger a download of the artifact if necessary.- Specified by:
getLocalArtifactLocationin interfaceRepositoryReader- Returns:
- the local location of the artifact; never
null
-
-