DevSU3UpdateHandler, DummyHandler, NewsHandler, PluginUpdateHandler, UnsignedUpdateHandler, UpdateHandler, UpdateHandlerpublic interface Updater
| Modifier and Type | Method | 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