public interface ProgressTrackingURLContentRetriever
Modifier and Type | Method and Description |
---|---|
java.lang.String |
downloadUrlTo(java.lang.String url,
java.io.File target,
FileProgress fileDownloadProgress)
Download artifact to a given location tracking downloading progress.
|
java.lang.String |
getId() |
@Nullable java.lang.String downloadUrlTo(@NotNull java.lang.String url, @NotNull java.io.File target, @NotNull FileProgress fileDownloadProgress) throws java.io.IOException
url
- source url to get artifact fromtarget
- target file locationfileDownloadProgress
- download progress holderjava.io.IOException
- in case of exceptionjava.lang.String getId()