Package | Description |
---|---|
org.eclipse.equinox.p2.engine |
Provides support for interacting with the p2 provisioning engine
Package Specification
This package specifies API for interacting with the p2 provisioning engine.
|
org.eclipse.equinox.p2.metadata |
Defines the metadata being handled by p2.
|
org.eclipse.equinox.p2.repository.artifact |
Defines artifact repository.
|
org.eclipse.equinox.p2.repository.artifact.spi |
Defines SPI for registering new implementations of artifact repositories.
|
Modifier and Type | Method and Description |
---|---|
IQueryable<IArtifactKey> |
ProvisioningContext.getArtifactKeys(IProgressMonitor monitor)
Returns a queryable that can be used to obtain any artifact keys that
are needed for the provisioning operation.
|
Modifier and Type | Method and Description |
---|---|
Collection<IArtifactKey> |
IInstallableUnit.getArtifacts()
Returns the collection of artifacts associated with this installable unit.
|
Modifier and Type | Method and Description |
---|---|
void |
MetadataFactory.InstallableUnitDescription.setArtifacts(IArtifactKey[] value)
Set the artifact keys for the installable unit.
|
Modifier and Type | Method and Description |
---|---|
IArtifactKey |
IArtifactRepository.createArtifactKey(String classifier,
String id,
Version version)
Create an instance of
IArtifactKey |
IArtifactKey |
IArtifactRequest.getArtifactKey()
Returns the key for the artifact that is being requested
|
IArtifactKey |
IArtifactDescriptor.getArtifactKey()
Return the key for the artifact described by this descriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IArtifactRepository.contains(IArtifactKey key)
Returns true if this repository contains the given artifact key.
|
IArtifactDescriptor |
IArtifactRepository.createArtifactDescriptor(IArtifactKey key)
Create an instance of
IArtifactDescriptor based on the given key |
IArtifactRequest |
IArtifactRepositoryManager.createMirrorRequest(IArtifactKey key,
IArtifactRepository destination,
Map<String,String> destinationDescriptorProperties,
Map<String,String> destinationRepositoryProperties)
Return a new request to mirror the given artifact into the destination repository.
|
IArtifactRequest |
IArtifactRepositoryManager.createMirrorRequest(IArtifactKey key,
IArtifactRepository destination,
Map<String,String> destinationDescriptorProperties,
Map<String,String> destinationRepositoryProperties,
String downloadStatsParameters)
Return a new request to mirror the given artifact into the destination repository.
|
IArtifactDescriptor[] |
IArtifactRepository.getArtifactDescriptors(IArtifactKey key)
Return the set of artifact descriptors describing the ways that this repository
can supply the artifact associated with the given artifact key
|
File |
IFileArtifactRepository.getArtifactFile(IArtifactKey key)
Return the location of the full local file corresponding to the given
artifact key to the given key, or
null if not available. |
void |
IArtifactRepository.removeDescriptor(IArtifactKey key)
|
void |
IArtifactRepository.removeDescriptor(IArtifactKey key,
IProgressMonitor monitor)
Remove the given key and all related content and descriptors from this repository.
|
void |
IArtifactRepository.removeDescriptors(IArtifactKey[] keys)
|
void |
IArtifactRepository.removeDescriptors(IArtifactKey[] keys,
IProgressMonitor monitor)
Remove the given list of keys and all related content and descriptors from this
repository.
|
Constructor and Description |
---|
ArtifactDescriptorQuery(IArtifactKey key)
The query will match descriptors whose
id and versionRange
match the supplied key |
ArtifactKeyQuery(IArtifactKey key)
Creates an artifact key query that will match any key equal to the
provided key
|
Modifier and Type | Field and Description |
---|---|
protected IArtifactKey |
ArtifactDescriptor.key |
Modifier and Type | Method and Description |
---|---|
IArtifactKey |
AbstractArtifactRepository.createArtifactKey(String classifier,
String id,
Version version) |
IArtifactKey |
ArtifactDescriptor.getArtifactKey() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
AbstractArtifactRepository.contains(IArtifactKey key) |
IArtifactDescriptor |
AbstractArtifactRepository.createArtifactDescriptor(IArtifactKey key) |
abstract IArtifactDescriptor[] |
AbstractArtifactRepository.getArtifactDescriptors(IArtifactKey key) |
void |
AbstractArtifactRepository.removeDescriptor(IArtifactKey key)
Deprecated.
|
void |
AbstractArtifactRepository.removeDescriptor(IArtifactKey key,
IProgressMonitor monitor)
Remove the given key and all related content and descriptors from this repository.
|
void |
AbstractArtifactRepository.removeDescriptors(IArtifactKey[] keys)
Deprecated.
?? Strange that we added an API and then deprecated it
|
void |
AbstractArtifactRepository.removeDescriptors(IArtifactKey[] keys,
IProgressMonitor monitor)
Remove the given list of keys and all related content and descriptors from this
repository.
|
Constructor and Description |
---|
ArtifactDescriptor(IArtifactKey key)
Returns a new artifact descriptor that uses the provided artifact key
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.