org.eclipse.equinox.p2.repository.artifact
public interface IFileArtifactRepository extends IArtifactRepository
CODE_RETRYENABLED, 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| Modifier and Type | Method and Description |
|---|---|
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. |
addDescriptor, addDescriptor, addDescriptors, addDescriptors, contains, contains, createArtifactDescriptor, createArtifactKey, descriptorQueryable, executeBatch, getArtifact, getArtifactDescriptors, getArtifacts, getOutputStream, getRawArtifact, removeAll, removeAll, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptors, removeDescriptors, removeDescriptors, removeDescriptorsgetDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setProperty, setPropertygetAdapterqueryFile getArtifactFile(IArtifactKey key)
null if not available.key - the artifact key for the file to be returnednull if not availableFile getArtifactFile(IArtifactDescriptor descriptor)
null if not available.descriptor - the artifact descriptor for the file to be returnednull if not availableGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.