Package org.eclipse.tycho
Interface IRawArtifactFileProvider
- All Superinterfaces:
IArtifactFileProvider,IArtifactProvider,org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>,IRawArtifactProvider
Provider for artifact files in different formats.
Over IArtifactFileProvider, this interface adds methods for obtaining artifacts in raw
formats. (With the IArtifactFileProvider interface, artifacts can only be obtained in
the canonical format, i.e. the format in which the artifact can be used directly without
additional decompression.)
Over IRawArtifactProvider, this interface adds a method for obtaining the artifacts as
files in the local file system. (With the IRawArtifactProvider interface, artifacts can
only be obtained as stream.)
-
Method Summary
Modifier and TypeMethodDescriptiongetArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) Returns the file system location of the given artifact in the given format.Methods inherited from interface org.eclipse.tycho.IArtifactFileProvider
getArtifactFile, isFileAlreadyAvailableMethods inherited from interface org.eclipse.tycho.IArtifactProvider
contains, getArtifactMethods inherited from interface org.eclipse.equinox.p2.query.IQueryable
queryMethods inherited from interface org.eclipse.tycho.IRawArtifactProvider
contains, getArtifactDescriptors, getRawArtifact
-
Method Details
-
getArtifactFile
Returns the file system location of the given artifact in the given format.- Parameters:
descriptor- The key and format of an artifact- Returns:
- The location of the specified raw artifact, or
nullthe that artifact does not exist in the given format.
-