net.i2p.update

## Interface UpdateTask

- All Known Implementing Classes:
    DevSU3UpdateChecker, DevSU3UpdateRunner, NewsFetcher, PluginUpdateChecker, PluginUpdateRunner, UnsignedUpdateChecker, UnsignedUpdateRunner, UpdateRunner, UpdateRunner

      public interface UpdateTask

  A running check or download. Cannot be restarted.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getID()` Valid for plugins
    `UpdateMethod` | `getMethod()` Get the update method.
    `UpdateType` | `getType()` Get the update type.
    `URI` | `getURI()` The current URI being checked or downloaded from.
    `boolean` | `isRunning()` Check if the task is currently running.
    `void` | `shutdown()` Shutdown the task.
    `void` | `start()` Tasks must not start themselves in the constructor.

- - ### Method Detail

    - #### getID

          String getID()

      Valid for plugins
      Returns:
        plugin ID

    - #### getMethod

          UpdateMethod getMethod()

      Get the update method.
      Returns:
        update method

    - #### getType

          UpdateType getType()

      Get the update type.
      Returns:
        update type

    - #### getURI

          URI getURI()

      The current URI being checked or downloaded from. Can change if there are multiple URIs to try.
      Returns:
        current URI

    - #### isRunning

          boolean isRunning()

      Check if the task is currently running.
      Returns:
        true if running

    - #### shutdown

          void shutdown()

      Shutdown the task.

    - #### start

          void start()

      Tasks must not start themselves in the constructor. Do it here.