package saker.nest.support.api.download
public final class BundleDownloadUtils
Utility class for working with bundle download functionality.
public static TaskFactory< | createBundleDownloadWorkerTask( Creates a build task that downloads the specified bundle. |
public static TaskIdentifier | Creates a task identifier that can be used to start a bundle download task. |
public static TaskFactory<? extends DownloadBundleWorkerTaskOutput> createBundleDownloadWorkerTask(BundleKey bundlekey) throws NullPointerException
Creates a build task that downloads the specified bundle.
bundlekeyThe bundle key of the bundle that is being downloaded.
The bundle downloading task.
NullPointerExceptionIf the argument is
null
.public static TaskIdentifier createBundleDownloadWorkerTaskIdentifier(BundleKey bundlekey) throws NullPointerException
Creates a task identifier that can be used to start a bundle download task.
The task identifer should be used with the createBundleDownloadWorkerTask(
bundlekeyThe bundle key of the bundle that is being downloaded.
The task identifier.
NullPointerExceptionIf the argument is
null
.