org.eclipse.equinox.p2.repository.artifact
public interface IArtifactRequest
IArtifactRepositoryManager.createMirrorRequest(IArtifactKey, IArtifactRepository, java.util.Map, java.util.Map),
IArtifactRepository.getArtifacts(IArtifactRequest[], IProgressMonitor)| Modifier and Type | Method and Description |
|---|---|
IArtifactKey |
getArtifactKey()
Returns the key for the artifact that is being requested
|
IStatus |
getResult()
Returns the result of the executed artifact request, or
null if
the request has never been executed. |
void |
perform(IArtifactRepository sourceRepository,
IProgressMonitor monitor)
Performs the artifact request, and sets the result status.
|
IArtifactKey getArtifactKey()
void perform(IArtifactRepository sourceRepository, IProgressMonitor monitor)
sourceRepository - the repository to download the artifact frommonitor - a progress monitor, or null if progress
reporting is not desiredIStatus getResult()
null if
the request has never been executed. Artifact requests are executed by invoking
IArtifactRepository.getArtifacts(IArtifactRequest[], IProgressMonitor).nullGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.