public class FileRepositoryArtifactProvider extends RepositoryArtifactProvider implements IRawArtifactFileProvider
RepositoryArtifactProvider implementation which adds file access capabilities.| Constructor and Description |
|---|
FileRepositoryArtifactProvider(List<org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository> repositories,
ArtifactTransferPolicy transferPolicy) |
FileRepositoryArtifactProvider(List<URI> artifactRepositories,
ArtifactTransferPolicy transferPolicy,
org.eclipse.equinox.p2.core.IProvisioningAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
File |
getArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
Returns the file system location of the given artifact in the given format.
|
File |
getArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
Returns the file system location of the given artifact.
|
protected void |
repositoriesLoaded() |
contains, contains, getArtifactDescriptorsOfAllSources, getArtifactFromAnySource, getArtifactNotFoundError, getRawArtifactFromAnySource, init, querygetArtifact, getArtifactDescriptors, getRawArtifact, isFatal, nonNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, getArtifactDescriptors, getRawArtifactcontains, getArtifactpublic FileRepositoryArtifactProvider(List<org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository> repositories, ArtifactTransferPolicy transferPolicy)
public FileRepositoryArtifactProvider(List<URI> artifactRepositories, ArtifactTransferPolicy transferPolicy, org.eclipse.equinox.p2.core.IProvisioningAgent agent)
protected void repositoriesLoaded()
repositoriesLoaded in class RepositoryArtifactProviderpublic File getArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
IArtifactFileProvidergetArtifactFile in interface IArtifactFileProviderkey - An artifact keynull the given artifact does
not exist.public File getArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
IRawArtifactFileProvidergetArtifactFile in interface IRawArtifactFileProviderdescriptor - The key and format of an artifactnull the that artifact
does not exist in the given format.Copyright © 2008-2015 Eclipse Foundation. All Rights Reserved.