public interface IRawArtifactSink extends IArtifactSink
IArtifactSink
for receiving an artifact in a raw, repository internal
storage format.IArtifactSink
,
ArtifactSinkFactory
Modifier and Type | Method and Description |
---|---|
org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor |
getArtifactFormatToBeWritten()
Returns the format (and key) of the artifact to be written.
|
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor getArtifactFormatToBeWritten()
Note: The artifact key that can be obtained via this method is the same as the key returned
by IArtifactSink.getArtifactToBeWritten()
, i.e.
sink.getArtifactDescriptorToBeWritten().getArtifactKey().equals(sink.getArtifactToBeWritten())
holds true.