Class LocalRepositoryP2IndicesImpl
- java.lang.Object
-
- org.eclipse.tycho.repository.local.index.LocalRepositoryP2IndicesImpl
-
- All Implemented Interfaces:
LocalRepositoryP2Indices
public class LocalRepositoryP2IndicesImpl extends java.lang.Object implements LocalRepositoryP2Indices
-
-
Field Summary
Fields Modifier and Type Field Description private TychoRepositoryIndexartifactsIndexprivate FileLockServicefileLockServiceprivate booleaninitializedprivate java.io.FilelocalRepositoryRootprivate MavenLoggerloggerprivate TychoRepositoryIndexmetadataIndexprivate MavenRepositorySystemrepoSystem
-
Constructor Summary
Constructors Constructor Description LocalRepositoryP2IndicesImpl()LocalRepositoryP2IndicesImpl(java.io.File localRepositoryRoot, FileLockService fileLockService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcheckInitialized()TychoRepositoryIndexgetArtifactsIndex()java.io.FilegetBasedir()TychoRepositoryIndexgetMetadataIndex()MavenRepositorySystemgetRepositorySystem()voidsetFileLockService(FileLockService fileLockService)voidsetMavenContext(MavenContext mavenContext)
-
-
-
Field Detail
-
fileLockService
private FileLockService fileLockService
-
localRepositoryRoot
private java.io.File localRepositoryRoot
-
logger
private MavenLogger logger
-
repoSystem
private MavenRepositorySystem repoSystem
-
initialized
private boolean initialized
-
artifactsIndex
private TychoRepositoryIndex artifactsIndex
-
metadataIndex
private TychoRepositoryIndex metadataIndex
-
-
Constructor Detail
-
LocalRepositoryP2IndicesImpl
public LocalRepositoryP2IndicesImpl()
-
LocalRepositoryP2IndicesImpl
public LocalRepositoryP2IndicesImpl(java.io.File localRepositoryRoot, FileLockService fileLockService)
-
-
Method Detail
-
setMavenContext
public void setMavenContext(MavenContext mavenContext)
-
setFileLockService
public void setFileLockService(FileLockService fileLockService)
-
checkInitialized
private void checkInitialized()
-
getArtifactsIndex
public TychoRepositoryIndex getArtifactsIndex()
- Specified by:
getArtifactsIndexin interfaceLocalRepositoryP2Indices
-
getMetadataIndex
public TychoRepositoryIndex getMetadataIndex()
- Specified by:
getMetadataIndexin interfaceLocalRepositoryP2Indices
-
getBasedir
public java.io.File getBasedir()
- Specified by:
getBasedirin interfaceLocalRepositoryP2Indices
-
getRepositorySystem
public MavenRepositorySystem getRepositorySystem()
- Specified by:
getRepositorySystemin interfaceLocalRepositoryP2Indices
-
-