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 |
getIncludeInTargetPlatform() |
boolean |
isModifiable() |
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) |
void |
save() |
void |
setIncludeInTargetPlatform(boolean value) |
getGAVs, getReferences, initialize, load
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 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)
query
in class AbstractMavenMetadataRepository
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
public void setIncludeInTargetPlatform(boolean value)
public boolean getIncludeInTargetPlatform()
Copyright © 2008-2013 Eclipse Foundation. All Rights Reserved.