public class ModuleArtifactRepository extends AbstractMavenArtifactRepository
local-artifacts.properties file, which maps classifiers to the file system
locations of the artifacts before they are uploaded into a Maven repository. (Unlike in a
Maven repository, there are no predefined locations for the artifacts in the build output
directory.)| Modifier and Type | Field and Description |
|---|---|
static String |
REPOSITORY_TYPE
Type string for this repository type.
|
contentLocator, descriptors, descriptorsMap, VERSION| Modifier and Type | Method and Description |
|---|---|
org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor |
createArtifactDescriptor(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
static ModuleArtifactRepository |
createInstance(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
File repositoryDir) |
OutputStream |
getOutputStream(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) |
static ModuleArtifactRepository |
restoreInstance(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
File repositoryDir) |
protected void |
store()
Called whenever the list of descriptors needs to be persisted.
|
addDescriptor, addDescriptors, contains, contains, descriptorQueryable, descriptorsChanged, getArtifact, getArtifactDescriptors, getArtifactFile, getArtifactFile, getArtifacts, getContentLocator, getP2GAV, getRawArtifact, internalAddDescriptor, query, resolveaddDescriptor, addDescriptors, createArtifactKey, equals, executeBatch, hashCode, removeAll, removeAll, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptors, removeDescriptors, removeDescriptors, removeDescriptorsassertModifiable, getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setDescription, setLocation, setName, setProperties, setProperty, setProperty, setProvider, setType, setVersionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddDescriptor, addDescriptors, createArtifactKey, executeBatch, removeAll, removeAll, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptors, removeDescriptors, removeDescriptors, removeDescriptorspublic static final String REPOSITORY_TYPE
IArtifactRepositoryManager.createRepository(URI, String, String, Map) in order to
create a repository of type ModuleArtifactRepository.public static ModuleArtifactRepository restoreInstance(org.eclipse.equinox.p2.core.IProvisioningAgent agent, File repositoryDir) throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionExceptionpublic static ModuleArtifactRepository createInstance(org.eclipse.equinox.p2.core.IProvisioningAgent agent, File repositoryDir) throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionExceptionpublic org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor createArtifactDescriptor(org.eclipse.equinox.p2.metadata.IArtifactKey key)
createArtifactDescriptor in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepositorycreateArtifactDescriptor in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepositorypublic OutputStream getOutputStream(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) throws org.eclipse.equinox.p2.core.ProvisionException
getOutputStream in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepositorygetOutputStream in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepositoryorg.eclipse.equinox.p2.core.ProvisionExceptionprotected void store()
AbstractMavenArtifactRepositorystore in class AbstractMavenArtifactRepositoryCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.