org.eclipse.equinox.p2.repository.artifact
Interface IFileArtifactRepository
- All Superinterfaces:
- IAdaptable, IArtifactRepository, IQueryable<IArtifactKey>, IRepository<IArtifactKey>
public interface IFileArtifactRepository
- extends IArtifactRepository
An artifact repository whose artifacts are available in the local file system.
- Since:
- 2.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
Fields inherited from interface org.eclipse.equinox.p2.repository.IRepository |
ENABLED, NONE, PREFERENCE_NODE, PROP_COMPRESSED, PROP_DESCRIPTION, PROP_MIRRORS_BASE_URL, PROP_MIRRORS_URL, PROP_NAME, PROP_NICKNAME, PROP_PASSWORD, PROP_SYSTEM, PROP_TIMESTAMP, PROP_USERNAME, TYPE_ARTIFACT, TYPE_METADATA |
Method Summary |
File |
getArtifactFile(IArtifactDescriptor descriptor)
Return the location of the local file corresponding to the given
artifact descriptor, or null if not available. |
File |
getArtifactFile(IArtifactKey key)
Return the location of the full local file corresponding to the given
artifact key to the given key, or null if not available. |
Methods inherited from interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository |
addDescriptor, addDescriptors, contains, contains, createArtifactDescriptor, createArtifactKey, descriptorQueryable, executeBatch, getArtifact, getArtifactDescriptors, getArtifacts, getOutputStream, getRawArtifact, removeAll, removeDescriptor, removeDescriptor |
Methods inherited from interface org.eclipse.equinox.p2.repository.IRepository |
getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setProperty |
Methods inherited from interface org.eclipse.equinox.p2.query.IQueryable |
query |
getArtifactFile
File getArtifactFile(IArtifactKey key)
- Return the location of the full local file corresponding to the given
artifact key to the given key, or
null
if not available.
- Parameters:
key
- the artifact key for the file to be returned
- Returns:
- the location of the requested artifact or
null
if not available
getArtifactFile
File getArtifactFile(IArtifactDescriptor descriptor)
- Return the location of the local file corresponding to the given
artifact descriptor, or
null
if not available.
- Parameters:
descriptor
- the artifact descriptor for the file to be returned
- Returns:
- the location of the requested descriptor or
null
if not available
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.