public interface IArtifactProvider
extends org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(org.eclipse.equinox.p2.metadata.IArtifactKey key)
Returns
true if this is a provider for the given artifact. |
org.eclipse.core.runtime.IStatus |
getArtifact(org.eclipse.equinox.p2.metadata.IArtifactKey key,
OutputStream destination,
org.eclipse.core.runtime.IProgressMonitor monitor)
Writes the artifact to the given output stream.
|
boolean contains(org.eclipse.equinox.p2.metadata.IArtifactKey key)
true if this is a provider for the given artifact.key - an artifact keytrue if this instance can provide the artifact for the given keyorg.eclipse.core.runtime.IStatus getArtifact(org.eclipse.equinox.p2.metadata.IArtifactKey key,
OutputStream destination,
org.eclipse.core.runtime.IProgressMonitor monitor)
key - the key of the artifact to transferdestination - the stream to write the artifact tomonitor - a progress monitor, or nullCopyright © 2008-2013 Eclipse Foundation. All Rights Reserved.