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 java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
units |
protected java.util.Map<GAV,java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>> |
unitsMap |
Constructor and Description |
---|
AbstractMavenMetadataRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
java.net.URI location,
TychoRepositoryIndex metadataIndex,
RepositoryReader contentLocator) |
AbstractMavenMetadataRepository(java.net.URI location,
TychoRepositoryIndex metadataIndex,
RepositoryReader contentLocator) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<GAV,java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>> |
getGAVs()
For testing purposes only
|
java.util.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 java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units
protected java.util.Map<GAV,java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>> unitsMap
public AbstractMavenMetadataRepository(java.net.URI location, TychoRepositoryIndex metadataIndex, RepositoryReader contentLocator)
public AbstractMavenMetadataRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent, java.net.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 java.util.Map<GAV,java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>> getGAVs()
public java.util.Collection<org.eclipse.equinox.p2.repository.IRepositoryReference> getReferences()