|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IArtifactRequest
Represents a request to transfer an artifact from an artifact repository. When the request is executed against a repository, it will be executed and the result of the execution will become available.
IArtifactRepositoryManager.createMirrorRequest(IArtifactKey, IArtifactRepository, java.util.Map, java.util.Map)
,
IArtifactRepository.getArtifacts(IArtifactRequest[], IProgressMonitor)
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.