public abstract class AbstractMetadataRepository2 extendsimplements 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.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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInstallableUnits, addReferences, 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)
public 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(iuPool)
compress in interface org.eclipse.equinox.p2.repository.metadata.IMetadataRepositoryCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.