Interface DownloadedArtifactsProgress
-
- All Known Implementing Classes:
DownloadedArtifactsProgress.Disabled
,DownloadedArtifactsProgressImpl
public interface DownloadedArtifactsProgress
Interface providing access to state of currently downloading files
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DownloadedArtifactsProgress.Disabled
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileProgress
getCurrentFileProgress()
Map<ArtifactDependency,DownloadedArtifacts>
getDownloadedArtifacts()
void
setCurrentFileProgress(FileProgress progress)
void
setDownloadedDependenciesState(Map<ArtifactDependency,DownloadedArtifacts> map)
-
-
-
Method Detail
-
getCurrentFileProgress
@Nullable FileProgress getCurrentFileProgress()
- Returns:
- download progress of currently processed file if any
-
getDownloadedArtifacts
@Nullable Map<ArtifactDependency,DownloadedArtifacts> getDownloadedArtifacts()
- Returns:
- overall download progress
-
setCurrentFileProgress
void setCurrentFileProgress(@Nullable FileProgress progress)
-
setDownloadedDependenciesState
void setDownloadedDependenciesState(@Nullable Map<ArtifactDependency,DownloadedArtifacts> map)
-
-