public class FileRepositoryArtifactProvider extends RepositoryArtifactProvider implements IRawArtifactFileProvider
RepositoryArtifactProvider implementation which adds file capabilities. Currently only
needed in tests.| Constructor and Description |
|---|
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.
|
contains, contains, getArtifactDescriptorsOfAllSources, getArtifactFromAnySource, getArtifactNotFoundError, getRawArtifactFromAnySource, querygetArtifact, getArtifactDescriptors, getRawArtifact, isFatal, nonNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, getArtifactDescriptors, getRawArtifactcontains, getArtifactpublic FileRepositoryArtifactProvider(List<URI> artifactRepositories, ArtifactTransferPolicy transferPolicy, org.eclipse.equinox.p2.core.IProvisioningAgent agent)
public 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–2013 Eclipse Foundation. All rights reserved.