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)
type - update typemethod - update methodupdateSources - Where to get the new version fromid - plugin name or ignorednewVersion - new version to downloadmaxTime - how long you have