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
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)
addInstallableUnits
in interface org.eclipse.equinox.p2.repository.metadata.IMetadataRepository
addInstallableUnits
in class org.eclipse.equinox.p2.repository.metadata.spi.AbstractMetadataRepository
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<org.eclipse.equinox.p2.metadata.IInstallableUnit>
isModifiable
in class org.eclipse.equinox.p2.repository.spi.AbstractRepository<org.eclipse.equinox.p2.metadata.IInstallableUnit>
Copyright © 2008–2021 Eclipse Foundation. All rights reserved.