## Uses of Class
net.i2p.update.UpdateMethod

- Packages that use UpdateMethod
  Package | Description
  --- | ---
  net.i2p.router.update | Classes to implement the router update process for checking and applying I2P router updates from the update manager.
  net.i2p.update | Interfaces and utilities for update process that operate without requiring full router context.
  org.klomp.snark | I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced to add a web UI, DHT support, and other features.

- - ### Uses of UpdateMethod in net.i2p.router.update

    Fields in net.i2p.router.update declared as UpdateMethod
    Modifier and Type | Field and Description
    --- | ---
    `protected UpdateMethod` | UpdateRunner.`_method`

    Methods in net.i2p.router.update that return UpdateMethod
    Modifier and Type | Method and Description
    --- | ---
    `UpdateMethod` | UpdateRunner.`getMethod()`

    Methods in net.i2p.router.update with parameters of type UpdateMethod
    Modifier and Type | Method and Description
    --- | ---
    `UpdateTask` | PluginUpdateHandler.`check(UpdateType type, UpdateMethod method, String appName, String currentVersion, long maxTime)` check a single plugin
    `UpdateTask` | DummyHandler.`check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)` Spins off an UpdateTask that sleeps
    `UpdateTask` | NewsHandler.`check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)` This will check for news or router updates (it does the same thing).
    `UpdateTask` | DevSU3UpdateHandler.`check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)`
    `UpdateTask` | UnsignedUpdateHandler.`check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)`
    `List<URI>` | ConsoleUpdateManager.`getUpdateURLs(UpdateType type, String id, UpdateMethod method)` Where to find various resources
    `boolean` | ConsoleUpdateManager.`notifyVersionAvailable(UpdateTask task, URI newsSource, UpdateType type, String id, UpdateMethod method, List<URI> updateSources, String newVersion, String minVersion)` Called by the Updater, either after check() was called, or it found out on its own.
    `void` | ConsoleUpdateManager.`register(Checker updater, UpdateType type, UpdateMethod method, int priority)`
    `void` | ConsoleUpdateManager.`register(Updater updater, UpdateType type, UpdateMethod method, int priority)` Call once for each type/method pair.
    `void` | ConsoleUpdateManager.`unregister(Checker updater, UpdateType type, UpdateMethod method)`
    `void` | ConsoleUpdateManager.`unregister(Updater updater, UpdateType type, UpdateMethod method)`
    `UpdateTask` | PluginUpdateHandler.`update(UpdateType type, UpdateMethod method, List<URI> updateSources, String appName, String newVersion, long maxTime)` download a single plugin
    `UpdateTask` | DummyHandler.`update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)` Spins off an UpdateTask that sleeps
    `UpdateTask` | UpdateHandler.`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` | DevSU3UpdateHandler.`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` | UnsignedUpdateHandler.`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.

    Method parameters in net.i2p.router.update with type arguments of type UpdateMethod
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ConsoleUpdateManager.`notifyVersionAvailable(UpdateTask task, URI newsSource, UpdateType type, String id, Map<UpdateMethod,List<URI>> sourceMap, String newVersion, String minVersion)` Called by the Checker, either after check() was called, or it found out on its own.

    Constructors in net.i2p.router.update with parameters of type UpdateMethod
    Constructor and Description
    `UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, UpdateMethod method, List<URI> uris)` Uses router version for partial checks
    `UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, UpdateMethod method, List<URI> uris, String currentVersion)`

  - ### Uses of UpdateMethod in net.i2p.update

    Methods in net.i2p.update that return UpdateMethod
    Modifier and Type | Method and Description
    --- | ---
    `UpdateMethod` | UpdateTask.`getMethod()` Get the update method.
    `static UpdateMethod` | UpdateMethod.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static UpdateMethod[]` | UpdateMethod.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in net.i2p.update with parameters of type UpdateMethod
    Modifier and Type | Method and Description
    --- | ---
    `UpdateTask` | Checker.`check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)` Check for updates.
    `boolean` | UpdateManager.`notifyVersionAvailable(UpdateTask task, URI newsSource, UpdateType type, String id, UpdateMethod method, List<URI> updateSources, String newVersion, String minVersion)` Called by the Checker, either after check() was called, or it found out on its own.
    `void` | UpdateManager.`register(Checker checker, UpdateType type, UpdateMethod method, int priority)` Register a checker for updates.
    `void` | UpdateManager.`register(Updater updater, UpdateType type, UpdateMethod method, int priority)` Call once for each type/method pair.
    `void` | UpdateManager.`unregister(Checker checker, UpdateType type, UpdateMethod method)` Unregister a checker.
    `void` | UpdateManager.`unregister(Updater updater, UpdateType type, UpdateMethod method)` Unregister an updater.
    `UpdateTask` | Updater.`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.

    Method parameters in net.i2p.update with type arguments of type UpdateMethod
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | UpdateManager.`notifyVersionAvailable(UpdateTask task, URI newsSource, UpdateType type, String id, Map<UpdateMethod,List<URI>> sourceMap, String newVersion, String minVersion)` Called by the Checker, either after check() was called, or it found out on its own.

  - ### Uses of UpdateMethod in org.klomp.snark

    Methods in org.klomp.snark that return UpdateMethod
    Modifier and Type | Method and Description
    --- | ---
    `UpdateMethod` | UpdateRunner.`getMethod()`

    Methods in org.klomp.snark with parameters of type UpdateMethod
    Modifier and Type | Method and Description
    --- | ---
    `UpdateTask` | UpdateHandler.`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.