public abstract class AbstractMavenArtifactRepository
extends org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepository
implements org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository
Modifier and Type | Field and Description |
---|---|
protected Set<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> |
descriptors |
protected Map<org.eclipse.equinox.p2.metadata.IArtifactKey,Set<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor>> |
descriptorsMap |
static String |
VERSION |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMavenArtifactRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
URI uri,
RepositoryReader contentLocator) |
protected |
AbstractMavenArtifactRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
URI uri,
TychoRepositoryIndex projectIndex,
RepositoryReader contentLocator) |
protected |
AbstractMavenArtifactRepository(URI uri,
TychoRepositoryIndex projectIndex,
RepositoryReader contentLocator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) |
void |
addDescriptors(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor[] descriptors) |
boolean |
contains(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) |
boolean |
contains(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
|
descriptorQueryable() |
org.eclipse.core.runtime.IStatus |
getArtifact(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor,
OutputStream destination,
org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor[] |
getArtifactDescriptors(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
File |
getArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) |
File |
getArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
org.eclipse.core.runtime.IStatus |
getArtifacts(org.eclipse.equinox.p2.repository.artifact.IArtifactRequest[] requests,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected RepositoryReader |
getContentLocator() |
protected GAV |
getP2GAV(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) |
org.eclipse.core.runtime.IStatus |
getRawArtifact(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor,
OutputStream destination,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
internalAddDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) |
protected void |
loadMaven(TychoRepositoryIndex projectIndex) |
|
query( |
org.eclipse.core.runtime.IStatus |
resolve(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) |
addDescriptor, addDescriptors, createArtifactDescriptor, createArtifactKey, equals, executeBatch, getOutputStream, hashCode, removeAll, removeAll, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptors, removeDescriptors, removeDescriptors, removeDescriptors
assertModifiable, getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setDescription, setLocation, setName, setProperties, setProperty, setProperty, setProvider, setType, setVersion
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addDescriptor, addDescriptors, createArtifactDescriptor, createArtifactKey, executeBatch, getOutputStream, removeAll, removeAll, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptors, removeDescriptors, removeDescriptors, removeDescriptors
public static final String VERSION
protected Map<org.eclipse.equinox.p2.metadata.IArtifactKey,Set<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor>> descriptorsMap
protected Set<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> descriptors
@Deprecated protected AbstractMavenArtifactRepository(URI uri, TychoRepositoryIndex projectIndex, RepositoryReader contentLocator)
protected AbstractMavenArtifactRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent, URI uri, TychoRepositoryIndex projectIndex, RepositoryReader contentLocator)
protected AbstractMavenArtifactRepository(org.eclipse.equinox.p2.core.IProvisioningAgent agent, URI uri, RepositoryReader contentLocator)
protected void loadMaven(TychoRepositoryIndex projectIndex)
public boolean contains(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
contains
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
contains
in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepository
public boolean contains(org.eclipse.equinox.p2.metadata.IArtifactKey key)
contains
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
contains
in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepository
public org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor[] getArtifactDescriptors(org.eclipse.equinox.p2.metadata.IArtifactKey key)
getArtifactDescriptors
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
getArtifactDescriptors
in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepository
protected GAV getP2GAV(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
protected RepositoryReader getContentLocator()
public org.eclipse.core.runtime.IStatus resolve(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
public void addDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
addDescriptor
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
addDescriptor
in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepository
protected final void internalAddDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
public void addDescriptors(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor[] descriptors)
addDescriptors
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
addDescriptors
in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepository
publicquery( query, org.eclipse.core.runtime.IProgressMonitor monitor)
query
in interface org.eclipse.equinox.p2.query.IQueryable
publicdescriptorQueryable()
descriptorQueryable
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
public org.eclipse.core.runtime.IStatus getArtifacts(org.eclipse.equinox.p2.repository.artifact.IArtifactRequest[] requests, org.eclipse.core.runtime.IProgressMonitor monitor)
getArtifacts
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
getArtifacts
in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepository
public org.eclipse.core.runtime.IStatus getArtifact(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor, OutputStream destination, org.eclipse.core.runtime.IProgressMonitor monitor)
getArtifact
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
getArtifact
in class org.eclipse.equinox.p2.repository.artifact.spi.AbstractArtifactRepository
public org.eclipse.core.runtime.IStatus getRawArtifact(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor, OutputStream destination, org.eclipse.core.runtime.IProgressMonitor monitor)
getRawArtifact
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
public File getArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
getArtifactFile
in interface org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository
public File getArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
getArtifactFile
in interface org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.