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.
- See Also:
- This interface is not intended to be implemented by clients.
Method SummaryModifier and TypeMethodDescriptionReturns the key for the artifact that is being requestedReturns the result of the executed artifact request, or
nullif the request has never been executed.
voidPerforms the artifact request, and sets the result status.
getArtifactKeyIArtifactKey getArtifactKey()Returns the key for the artifact that is being requested
- The requested artifact key
performPerforms the artifact request, and sets the result status.
sourceRepository- the repository to download the artifact from
monitor- a progress monitor, or
nullif progress reporting is not desired
getResultIStatus getResult()Returns the result of the executed artifact request, or
nullif the request has never been executed. Artifact requests are executed by invoking
- The result of the previous perform call, or