public abstract class AbstractMavenMetadataRepository
extends org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository
Modifier and Type | Field and Description |
---|---|
protected RepositoryReader |
contentLocator |
protected TychoRepositoryIndex |
metadataIndex |
protected Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
units |
protected Map<GAV,Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>> |
unitsMap |
Constructor and Description |
---|
AbstractMavenMetadataRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
URI location,
TychoRepositoryIndex metadataIndex,
RepositoryReader contentLocator) |
AbstractMavenMetadataRepository(URI location,
TychoRepositoryIndex metadataIndex,
RepositoryReader contentLocator) |
Modifier and Type | Method and Description |
---|---|
Map<GAV,Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>> |
getGAVs()
For testing purposes only
|
Collection<org.eclipse.equinox.p2.repository.IRepositoryReference> |
getReferences() |
void |
initialize(org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository.RepositoryState state) |
protected void |
load() |
org.eclipse.equinox.p2.query.IQueryResult<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
query(org.eclipse.equinox.p2.query.IQuery<org.eclipse.equinox.p2.metadata.IInstallableUnit> query,
org.eclipse.core.runtime.IProgressMonitor monitor) |
addInstallableUnits, addReferences, compress, executeBatch, removeAll, removeInstallableUnits
assertModifiable, getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setDescription, setLocation, setName, setProperties, setProperty, setProperty, setProvider, setType, setVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final TychoRepositoryIndex metadataIndex
protected final RepositoryReader contentLocator
protected Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units
public AbstractMavenMetadataRepository(URI location, TychoRepositoryIndex metadataIndex, RepositoryReader contentLocator)
public AbstractMavenMetadataRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent, URI location, TychoRepositoryIndex metadataIndex, RepositoryReader contentLocator)
protected void load()
public void initialize(org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository.RepositoryState state)
initialize
in class org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository
public org.eclipse.equinox.p2.query.IQueryResult<org.eclipse.equinox.p2.metadata.IInstallableUnit> query(org.eclipse.equinox.p2.query.IQuery<org.eclipse.equinox.p2.metadata.IInstallableUnit> query, org.eclipse.core.runtime.IProgressMonitor monitor)
public Map<GAV,Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>> getGAVs()
public Collection<org.eclipse.equinox.p2.repository.IRepositoryReference> getReferences()
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.