Interface IFileArtifactRepository
- All Superinterfaces:
IAdaptable,IArtifactRepository,IQueryable<IArtifactKey>,IRepository<IArtifactKey>
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.
-
Field Summary
Fields inherited from interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
CODE_RETRY, PROP_RUNNABLEFields 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
Modifier and TypeMethodDescriptionReturn the location of the full local file corresponding to the given artifact key to the given key, ornullif not available.getArtifactFile(IArtifactDescriptor descriptor) Return the location of the local file corresponding to the given artifact descriptor, ornullif not available.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
addDescriptor, addDescriptor, addDescriptors, addDescriptors, contains, contains, createArtifactDescriptor, createArtifactKey, descriptorQueryable, executeBatch, getArtifact, getArtifactDescriptors, getArtifacts, getOutputStream, getRawArtifact, removeAll, removeAll, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptors, removeDescriptors, removeDescriptors, removeDescriptorsMethods inherited from interface org.eclipse.equinox.p2.query.IQueryable
queryMethods inherited from interface org.eclipse.equinox.p2.repository.IRepository
getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setProperty, setProperty
-
Method Details
-
getArtifactFile
Return the location of the full local file corresponding to the given artifact key to the given key, ornullif not available.- Parameters:
key- the artifact key for the file to be returned- Returns:
- the location of the requested artifact or
nullif not available
-
getArtifactFile
Return the location of the local file corresponding to the given artifact descriptor, ornullif not available.- Parameters:
descriptor- the artifact descriptor for the file to be returned- Returns:
- the location of the requested descriptor or
nullif not available
-