Interface IArtifactFileProvider
-
- All Superinterfaces:
IArtifactProvider
,org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>
- All Known Subinterfaces:
IRawArtifactFileProvider
- All Known Implementing Classes:
ArtifactRepositoryBaseImpl
,CompositeArtifactProvider
,FileRepositoryArtifactProvider
,LocalArtifactRepository
,MirroringArtifactProvider
,ProviderOnlyArtifactRepository
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description File
getArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
Returns the file system location of the given artifact.-
Methods inherited from interface org.eclipse.tycho.repository.p2base.artifact.provider.IArtifactProvider
contains, getArtifact
-
-
-
-
Method Detail
-
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.
-
-