Class ArtifactRepositoryBaseImpl.RawAddingArtifactSink
- java.lang.Object
-
- org.eclipse.tycho.repository.p2base.artifact.repository.ArtifactRepositoryBaseImpl.AddingArtifactSink
-
- org.eclipse.tycho.repository.p2base.artifact.repository.ArtifactRepositoryBaseImpl.RawAddingArtifactSink
-
- All Implemented Interfaces:
IArtifactSink
,IRawArtifactSink
- Enclosing class:
- ArtifactRepositoryBaseImpl<ArtifactDescriptorT extends org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor>
private class ArtifactRepositoryBaseImpl.RawAddingArtifactSink extends ArtifactRepositoryBaseImpl.AddingArtifactSink implements IRawArtifactSink
-
-
Field Summary
-
Fields inherited from class org.eclipse.tycho.repository.p2base.artifact.repository.ArtifactRepositoryBaseImpl.AddingArtifactSink
newDescriptor
-
-
Constructor Summary
Constructors Constructor Description RawAddingArtifactSink(ArtifactDescriptorT newDescriptor)
-
Method Summary
All Methods Instance Methods Concrete 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 class org.eclipse.tycho.repository.p2base.artifact.repository.ArtifactRepositoryBaseImpl.AddingArtifactSink
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.tycho.repository.p2base.artifact.provider.streaming.IArtifactSink
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
-
-
-
-
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 interfaceIRawArtifactSink
-
-