public static class DownloadLaunchRunnable.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DownloadLaunchRunnable |
build() |
DownloadLaunchRunnable.Builder |
setCallbackProgressMaxCount(java.lang.Integer callbackProgressMaxCount) |
DownloadLaunchRunnable.Builder |
setForceReDownload(java.lang.Boolean forceReDownload) |
DownloadLaunchRunnable.Builder |
setHeader(FileDownloadHeader header) |
DownloadLaunchRunnable.Builder |
setMaxRetryTimes(java.lang.Integer maxRetryTimes) |
DownloadLaunchRunnable.Builder |
setMinIntervalMillis(java.lang.Integer minIntervalMillis) |
DownloadLaunchRunnable.Builder |
setModel(FileDownloadModel model) |
DownloadLaunchRunnable.Builder |
setThreadPoolMonitor(IThreadPoolMonitor threadPoolMonitor) |
DownloadLaunchRunnable.Builder |
setWifiRequired(java.lang.Boolean wifiRequired) |
public DownloadLaunchRunnable.Builder setModel(FileDownloadModel model)
public DownloadLaunchRunnable.Builder setHeader(FileDownloadHeader header)
public DownloadLaunchRunnable.Builder setThreadPoolMonitor(IThreadPoolMonitor threadPoolMonitor)
public DownloadLaunchRunnable.Builder setMinIntervalMillis(java.lang.Integer minIntervalMillis)
public DownloadLaunchRunnable.Builder setCallbackProgressMaxCount(java.lang.Integer callbackProgressMaxCount)
public DownloadLaunchRunnable.Builder setForceReDownload(java.lang.Boolean forceReDownload)
public DownloadLaunchRunnable.Builder setWifiRequired(java.lang.Boolean wifiRequired)
public DownloadLaunchRunnable.Builder setMaxRetryTimes(java.lang.Integer maxRetryTimes)
public DownloadLaunchRunnable build()