java.lang.Object
net.i2p.router.update.ConsoleUpdateManager.RegisteredUpdater
All Implemented Interfaces:
Comparable<ConsoleUpdateManager.RegisteredUpdater>
Enclosing class:
ConsoleUpdateManager

static class ConsoleUpdateManager.RegisteredUpdaterextends Object implements Comparable<ConsoleUpdateManager.RegisteredUpdater>
Equals on updater, type and method only.
  • Field Details

    • updater

      public final Updater updater
      The Updater this registration invokes.
    • type

      public final UpdateType type
      The update type this registration serves.
    • method

      public final UpdateMethod method
      The update method this registration was made for.
    • priority

      public final int priority
      Higher priorities are consulted first.
  • Constructor Details

    • RegisteredUpdater

      public RegisteredUpdater(Updater u, UpdateType t, UpdateMethod m, int priority)
      Record an Updater for the given type, method and priority.
      Parameters:
      u - the updater to run
      t - the update type it handles
      m - the fetch method it uses
      priority - ordering weight, higher priorities consulted first
  • Method Details