novoda / download-manager

A library that handles long-running downloads, handling the network interactions and retrying downloads automatically after failures
Apache License 2.0
483 stars 63 forks source link

Create a BatchBuilder from an existing batch #472

Closed Mecharyry closed 5 years ago

Mecharyry commented 5 years ago

Problem

Sometimes clients may wish to create a BatchBuilder from a Batch so that they can add additional files etc to a batch prior to submitting it to the download manager.

Solution

Expose a method on the BatchBuilder to create a new builder from a Batch.