Interface IRawArtifactSink
-
- All Superinterfaces:
IArtifactSink
- All Known Implementing Classes:
ArtifactRepositoryBaseImpl.RawAddingArtifactSink
,StreamRawArtifactSink
public interface IRawArtifactSink extends IArtifactSink
Specialization ofIArtifactSink
for receiving an artifact in a raw, repository internal storage format.- See Also:
IArtifactSink
,ArtifactSinkFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor
getArtifactFormatToBeWritten()
Returns the format (and key) of the artifact to be written.-
Methods inherited from interface org.eclipse.tycho.repository.p2base.artifact.provider.streaming.IArtifactSink
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
-
-
-
-
Method Detail
-
getArtifactFormatToBeWritten
org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor getArtifactFormatToBeWritten()
Returns the format (and key) of the artifact to be written.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.
-
-