- All Superinterfaces:
IArtifactProvider,org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>
- All Known Subinterfaces:
IRawArtifactFileProvider
Provider for artifact files.
Over IArtifactProvider, this interface adds a method for obtaining the artifacts as files
in the local file system. (With the IArtifactProvider interface, artifacts can only be
obtained as stream.)
-
Method Summary
Modifier and TypeMethodDescriptiongetArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key) Returns the file system location of the given artifact.booleanisFileAlreadyAvailable(org.eclipse.equinox.p2.metadata.IArtifactKey artifactKey) Methods inherited from interface org.eclipse.tycho.IArtifactProvider
contains, getArtifactMethods inherited from interface org.eclipse.equinox.p2.query.IQueryable
query
-
Method Details
-
getArtifactFile
Returns the file system location of the given artifact.- Parameters:
key- An artifact key- Returns:
- The location of the specified artifact, or
nullthe given artifact does not exist.
-
isFileAlreadyAvailable
boolean isFileAlreadyAvailable(org.eclipse.equinox.p2.metadata.IArtifactKey artifactKey)
-