public abstract class AbstractMetadataRepository2
extends org.eclipse.equinox.p2.repository.spi.AbstractRepository<org.eclipse.equinox.p2.metadata.IInstallableUnit>
implements org.eclipse.equinox.p2.repository.metadata.IMetadataRepository
AbstractMetadataRepository.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMetadataRepository2(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
String name,
String type,
File location)
Creates a metadata repository with the provided parameters (and some default values that are
reasonable for Tycho).
|
| Modifier and Type | Method and Description |
|---|---|
void |
addReferences(Collection<? extends org.eclipse.equinox.p2.repository.IRepositoryReference> references) |
void |
compress(org.eclipse.equinox.p2.core.IPool<org.eclipse.equinox.p2.metadata.IInstallableUnit> iuPool) |
org.eclipse.core.runtime.IStatus |
executeBatch(org.eclipse.equinox.p2.repository.IRunnableWithProgress runnable,
org.eclipse.core.runtime.IProgressMonitor monitor) |
Collection<org.eclipse.equinox.p2.repository.IRepositoryReference> |
getReferences() |
assertModifiable, getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setDescription, setLocation, setName, setProperties, setProperty, setProperty, setProvider, setType, setVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInstallableUnits, removeAll, removeInstallableUnitsprotected AbstractMetadataRepository2(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
String name,
String type,
File location)
agent - the provisioning agent that may be used by repositoryname - the name of the repositorytype - the repository type as in
MetadataRepositoryManager.createRepository(URI, String, String, java.util.Map)location - the physical location of the repositorypublic void addReferences(Collection<? extends org.eclipse.equinox.p2.repository.IRepositoryReference> references)
addReferences in interface org.eclipse.equinox.p2.repository.metadata.IMetadataRepositorypublic Collection<org.eclipse.equinox.p2.repository.IRepositoryReference> getReferences()
getReferences in interface org.eclipse.equinox.p2.repository.metadata.IMetadataRepositorypublic org.eclipse.core.runtime.IStatus executeBatch(org.eclipse.equinox.p2.repository.IRunnableWithProgress runnable,
org.eclipse.core.runtime.IProgressMonitor monitor)
executeBatch in interface org.eclipse.equinox.p2.repository.metadata.IMetadataRepositorypublic void compress(org.eclipse.equinox.p2.core.IPool<org.eclipse.equinox.p2.metadata.IInstallableUnit> iuPool)
compress in interface org.eclipse.equinox.p2.repository.metadata.IMetadataRepositoryCopyright © 2008-2013 Eclipse Foundation. All Rights Reserved.