Interface Updater

    • Method Detail

      • update

        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. Should not block.
        Parameters:
        id - plugin name or ignored
        maxTime - how long you have
        Returns:
        active task or null if unable to download