Interface Checker

All Known Implementing Classes:
DevSU3UpdateHandler, DummyHandler, NewsHandler, PluginUpdateHandler, UnsignedUpdateHandler

public interface Checker
Controls one or more types of updates. This must be registered with the UpdateManager.
Since:
0.9.4
  • Method Details

    • check

      UpdateTask check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
      Check for updates. Should not block. If any are found, call back to UpdateManager.notifyUpdateAvailable().
      Parameters:
      id - plugin name or ignored
      maxTime - how long you have
      Returns:
      active task or null if unable to check