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.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
CODE_RETRY, PROP_RUNNABLE
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description File
getArtifactFile(IArtifactKey key)
Return the location of the full local file corresponding to the given artifact key to the given key, ornull
if not available.File
getArtifactFile(IArtifactDescriptor descriptor)
Return the location of the local file corresponding to the given artifact descriptor, ornull
if not available.-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Methods 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, removeDescriptors
-
Methods inherited from interface org.eclipse.equinox.p2.query.IQueryable
query
-
Methods inherited from interface org.eclipse.equinox.p2.repository.IRepository
getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setProperty, setProperty
-
-
-
-
Method Detail
-
getArtifactFile
File getArtifactFile(IArtifactKey key)
Return the location of the full local file corresponding to the given artifact key to the given key, ornull
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, ornull
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
-
-