Class ArtifactRepositoryBaseImpl.RawAddingArtifactSink

    • Constructor Detail

      • RawAddingArtifactSink

        RawAddingArtifactSink​(ArtifactDescriptorT newDescriptor)
                       throws org.eclipse.equinox.p2.core.ProvisionException
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException
    • 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