public class LocalMetadataRepository extends AbstractMavenMetadataRepository
contentLocator, metadataIndex, units, unitsMap
Constructor and Description |
---|
LocalMetadataRepository(URI location,
TychoRepositoryIndex metadataIndex)
Create new repository
|
LocalMetadataRepository(URI location,
TychoRepositoryIndex projectIndex,
RepositoryReader contentLocator)
Local existing repository
|
Modifier and Type | Method and Description |
---|---|
void |
addInstallableUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit unit,
GAV gav) |
void |
addInstallableUnits(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> newUnits) |
boolean |
isModifiable() |
void |
save() |
getGAVs, getReferences, initialize, load, query
addInstallableUnits, addReferences, compress, executeBatch, removeAll, removeInstallableUnits
assertModifiable, getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, setDescription, setLocation, setName, setProperties, setProperty, setProperty, setProvider, setType, setVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public LocalMetadataRepository(URI location, TychoRepositoryIndex metadataIndex)
public LocalMetadataRepository(URI location, TychoRepositoryIndex projectIndex, RepositoryReader contentLocator)
public void addInstallableUnits(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> newUnits)
public void addInstallableUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit unit, GAV gav)
public void save()
public boolean isModifiable()
isModifiable
in interface org.eclipse.equinox.p2.repository.IRepository
isModifiable
in class org.eclipse.equinox.p2.repository.spi.AbstractRepository
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.