Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
MirroringArtifactProvider.getArtifact(IArtifactSink sink,
org.eclipse.core.runtime.IProgressMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
IArtifactSink |
ModuleArtifactRepository.newAddingArtifactSink(org.eclipse.equinox.p2.metadata.IArtifactKey key,
WriteSessionContext writeSession) |
Modifier and Type | Method and Description |
---|---|
static void |
ArtifactProviderImplUtilities.canWriteCanonicalArtifactToSink(IArtifactSink artifactSink)
Checks if the given sink takes an artifact in canonical format.
|
static void |
ArtifactProviderImplUtilities.canWriteToSink(IArtifactSink sink)
Checks if the given sink can be written to.
|
org.eclipse.core.runtime.IStatus |
IArtifactProvider.getArtifact(IArtifactSink sink,
org.eclipse.core.runtime.IProgressMonitor monitor)
Writes the requested artifact to the given
IArtifactSink . |
org.eclipse.core.runtime.IStatus |
CompositeArtifactProviderBaseImpl.getArtifact(IArtifactSink sink,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected abstract void |
CompositeArtifactProviderBaseImpl.getArtifactFromAnySource(IArtifactSink sink,
java.util.List<org.eclipse.core.runtime.IStatus> statusCollector,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
CompositeArtifactProvider.getArtifactFromAnySource(IArtifactSink sink,
java.util.List<org.eclipse.core.runtime.IStatus> statusCollector,
org.eclipse.core.runtime.IProgressMonitor monitor) |
Modifier and Type | Interface and Description |
---|---|
interface |
IRawArtifactSink
Specialization of
IArtifactSink for receiving an artifact in a raw, repository internal
storage format. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
StreamArtifactSink |
(package private) class |
StreamRawArtifactSink |
Modifier and Type | Method and Description |
---|---|
static IArtifactSink |
ArtifactSinkFactory.writeToStream(org.eclipse.equinox.p2.metadata.IArtifactKey artifactKey,
java.io.OutputStream destination)
Returns an
IArtifactSink instance for writing an artifact to an output stream. |
Modifier and Type | Class and Description |
---|---|
private class |
ArtifactRepositoryBaseImpl.AddingArtifactSink |
private class |
ArtifactRepositoryBaseImpl.RawAddingArtifactSink |
Modifier and Type | Field and Description |
---|---|
(package private) IArtifactSink |
AbstractArtifactRepository2.CommittingArtifactOutputStream.artifactSink |
Modifier and Type | Method and Description |
---|---|
abstract IArtifactSink |
AbstractArtifactRepository2.newAddingArtifactSink(org.eclipse.equinox.p2.metadata.IArtifactKey key)
Returns a new
IArtifactSink instance that adds the received artifact to this
repository on commitWrite() . |
IArtifactSink |
ArtifactRepositoryBaseImpl.newAddingArtifactSink(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
IArtifactSink |
ProviderOnlyArtifactRepository.newAddingArtifactSink(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
Modifier and Type | Method and Description |
---|---|
private static void |
ArtifactRepositoryBaseImpl.closeSinkAccordingToStatus(IArtifactSink sink,
org.eclipse.core.runtime.IStatus status) |
org.eclipse.core.runtime.IStatus |
ArtifactRepositoryBaseImpl.getArtifact(IArtifactSink sink,
org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.core.runtime.IStatus |
ProviderOnlyArtifactRepository.getArtifact(IArtifactSink sink,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private boolean |
RepositoryArtifactProvider.getArtifactFromAnyChildRepository(java.util.List<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> availableDescriptors,
org.eclipse.equinox.p2.repository.artifact.IArtifactRepository repository,
IArtifactSink sink,
java.util.List<org.eclipse.core.runtime.IStatus> statusCollector,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private boolean |
RepositoryArtifactProvider.getArtifactFromAnyFormatAvailableInRepository(org.eclipse.equinox.p2.repository.artifact.IArtifactRepository repository,
IArtifactSink sink,
java.util.List<org.eclipse.core.runtime.IStatus> statusCollector,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private boolean |
RepositoryArtifactProvider.getArtifactFromAnyMirror(java.util.List<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> availableDescriptors,
org.eclipse.equinox.p2.repository.artifact.IArtifactRepository repository,
IArtifactSink sink,
java.util.List<org.eclipse.core.runtime.IStatus> statusCollector,
RepositoryArtifactProvider.RetryTracker retryTracker,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
RepositoryArtifactProvider.getArtifactFromAnySource(IArtifactSink sink,
java.util.List<org.eclipse.core.runtime.IStatus> statusCollector,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private boolean |
RepositoryArtifactProvider.getArtifactFromOneMirror(java.util.List<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> availableDescriptors,
org.eclipse.equinox.p2.repository.artifact.IArtifactRepository repository,
IArtifactSink sink,
java.util.List<org.eclipse.core.runtime.IStatus> statusCollector,
RepositoryArtifactProvider.RetryTracker retryTracker,
org.eclipse.core.runtime.IProgressMonitor monitor) |
Constructor and Description |
---|
CommittingArtifactOutputStream(IArtifactSink artifactSink) |