public interface Updater
Modifier and Type | Method and Description |
---|---|
UpdateTask |
update(UpdateType type,
UpdateMethod method,
List<URI> updateSources,
String id,
String newVersion,
long maxTime)
Start a download and return a handle to the download task.
|
UpdateTask update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)
id
- plugin name or ignoredmaxTime
- how long you have