private class ArtifactRepositoryBaseImpl.RawAddingArtifactSink extends ArtifactRepositoryBaseImpl.AddingArtifactSink implements IRawArtifactSink
newDescriptor
Constructor and Description |
---|
RawAddingArtifactSink(ArtifactDescriptorT newDescriptor) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
RawAddingArtifactSink(ArtifactDescriptorT newDescriptor) throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionException
public org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor getArtifactFormatToBeWritten()
IRawArtifactSink
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.
getArtifactFormatToBeWritten
in interface IRawArtifactSink