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)
.null
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.