Interface IArtifactFileProvider

All Superinterfaces:
IArtifactProvider, org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>
All Known Subinterfaces:
IRawArtifactFileProvider

public interface IArtifactFileProvider extends IArtifactProvider
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 Type
    Method
    Description
    getArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
    Returns the file system location of the given artifact.
    boolean
    isFileAlreadyAvailable(org.eclipse.equinox.p2.metadata.IArtifactKey artifactKey)
     

    Methods inherited from interface org.eclipse.tycho.IArtifactProvider

    contains, getArtifact

    Methods inherited from interface org.eclipse.equinox.p2.query.IQueryable

    query
  • Method Details

    • getArtifactFile

      File getArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
      Returns the file system location of the given artifact.
      Parameters:
      key - An artifact key
      Returns:
      The location of the specified artifact, or null the given artifact does not exist.
    • isFileAlreadyAvailable

      boolean isFileAlreadyAvailable(org.eclipse.equinox.p2.metadata.IArtifactKey artifactKey)