public interface IProgressCallback
| Modifier and Type | Method and Description |
|---|---|
default void |
init(fr.flowarg.flowlogger.ILogger logger)
This method is called at
FlowUpdater initialization. |
default void |
onFileDownloaded(java.nio.file.Path path)
This method is called before
update(DownloadList.DownloadInfo) when a file is downloaded. |
default void |
step(Step step)
This method is called when a step started.
|
default void |
update(DownloadList.DownloadInfo info)
This method is called when a new file is downloaded.
|
default void init(fr.flowarg.flowlogger.ILogger logger)
FlowUpdater initialization.logger - ILogger of FlowUpdater instance.default void step(Step step)
step - Actual Step.default void update(DownloadList.DownloadInfo info)
info - The DownloadList.DownloadInfo instance that contains all wanted information.default void onFileDownloaded(java.nio.file.Path path)
update(DownloadList.DownloadInfo) when a file is downloaded.path - the file downloaded.