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.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<IArtifactDescriptor> |
ProvisioningContext.getArtifactDescriptors(IProgressMonitor monitor)
Returns a queryable that can be used to obtain any artifact descriptors that
are needed for the provisioning operation.
|
Modifier and Type | Method and Description |
---|---|
IArtifactDescriptor |
IArtifactRepository.createArtifactDescriptor(IArtifactKey key)
Create an instance of
IArtifactDescriptor based on the given key |
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
|
Modifier and Type | Method and Description |
---|---|
IQueryable<IArtifactDescriptor> |
IArtifactRepository.descriptorQueryable()
Returns a queryable that can be queried for artifact descriptors contained in this repository
|
Modifier and Type | Method and Description |
---|---|
void |
IArtifactRepository.addDescriptor(IArtifactDescriptor descriptor)
|
void |
IArtifactRepository.addDescriptor(IArtifactDescriptor descriptor,
IProgressMonitor monitor)
Add the given descriptor to the set of descriptors in this repository.
|
void |
IArtifactRepository.addDescriptors(IArtifactDescriptor[] descriptors)
|
void |
IArtifactRepository.addDescriptors(IArtifactDescriptor[] descriptors,
IProgressMonitor monitor)
Add the given artifact descriptors to this repository
|
boolean |
IArtifactRepository.contains(IArtifactDescriptor descriptor)
Returns true if this repository contains the given descriptor.
|
IStatus |
IArtifactRepository.getArtifact(IArtifactDescriptor descriptor,
OutputStream destination,
IProgressMonitor monitor)
Writes to the given output stream the bytes represented by the artifact descriptor.
|
File |
IFileArtifactRepository.getArtifactFile(IArtifactDescriptor descriptor)
Return the location of the local file corresponding to the given
artifact descriptor, or
null if not available. |
OutputStream |
IArtifactRepository.getOutputStream(IArtifactDescriptor descriptor)
Open an output stream to which a client can write the data for the given
artifact descriptor.
|
IStatus |
IArtifactRepository.getRawArtifact(IArtifactDescriptor descriptor,
OutputStream destination,
IProgressMonitor monitor)
Writes to the given output stream the bytes represented by the artifact descriptor.
|
void |
IArtifactRepository.removeDescriptor(IArtifactDescriptor descriptor)
|
void |
IArtifactRepository.removeDescriptor(IArtifactDescriptor descriptor,
IProgressMonitor monitor)
Remove the given descriptor and its corresponding content in this repository.
|
void |
IArtifactRepository.removeDescriptors(IArtifactDescriptor[] descriptors)
|
void |
IArtifactRepository.removeDescriptors(IArtifactDescriptor[] descriptors,
IProgressMonitor monitor)
Remove the given list of artifact descriptors and their corresponding content
in this repository.
|
Modifier and Type | Class and Description |
---|---|
class |
ArtifactDescriptor
This represents information about a given artifact stored on a particular byte server.
|
Modifier and Type | Method and Description |
---|---|
IArtifactDescriptor |
AbstractArtifactRepository.createArtifactDescriptor(IArtifactKey key) |
abstract IArtifactDescriptor[] |
AbstractArtifactRepository.getArtifactDescriptors(IArtifactKey key) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractArtifactRepository.addDescriptor(IArtifactDescriptor descriptor)
Deprecated.
|
void |
AbstractArtifactRepository.addDescriptor(IArtifactDescriptor descriptor,
IProgressMonitor monitor) |
void |
AbstractArtifactRepository.addDescriptors(IArtifactDescriptor[] descriptors)
Deprecated.
|
void |
AbstractArtifactRepository.addDescriptors(IArtifactDescriptor[] descriptors,
IProgressMonitor monitor)
Add the given artifact descriptors to this repository
|
abstract boolean |
AbstractArtifactRepository.contains(IArtifactDescriptor descriptor) |
abstract IStatus |
AbstractArtifactRepository.getArtifact(IArtifactDescriptor descriptor,
OutputStream destination,
IProgressMonitor monitor) |
abstract OutputStream |
AbstractArtifactRepository.getOutputStream(IArtifactDescriptor descriptor) |
void |
AbstractArtifactRepository.removeDescriptor(IArtifactDescriptor descriptor)
Deprecated.
|
void |
AbstractArtifactRepository.removeDescriptor(IArtifactDescriptor descriptor,
IProgressMonitor monitor)
Remove the given descriptor and its corresponding content in this repository.
|
void |
AbstractArtifactRepository.removeDescriptors(IArtifactDescriptor[] descriptors)
Deprecated.
?? Strange that we added an API and then deprecated it
|
void |
AbstractArtifactRepository.removeDescriptors(IArtifactDescriptor[] descriptors,
IProgressMonitor monitor)
Remove the given list of artifact descriptors and their corresponding content
in this repository.
|
Constructor and Description |
---|
ArtifactDescriptor(IArtifactDescriptor base)
Creates a new artifact descriptor with the same key, properties, repository,
and processing steps as the provided base descriptor.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.