Class StreamRawArtifactSink

    • Field Detail

      • requestedDescriptor

        private org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor requestedDescriptor
    • Constructor Detail

      • StreamRawArtifactSink

        StreamRawArtifactSink​(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor requestedDescriptor,
                              java.io.OutputStream destination)
    • Method Detail

      • getArtifactFormatToBeWritten

        public org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor getArtifactFormatToBeWritten()
        Description copied from interface: IRawArtifactSink
        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.

        Specified by:
        getArtifactFormatToBeWritten in interface IRawArtifactSink