Uses of Enum
net.i2p.update.UpdateType
Packages that use UpdateType
Package
Description
Classes to implement the update process.
Interfaces for classes to assist in the update process without
needing the router context.
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 UpdateType in net.i2p.router.update
Fields in net.i2p.router.update declared as UpdateTypeMethods in net.i2p.router.update that return UpdateTypeMethods in net.i2p.router.update with parameters of type UpdateTypeModifier and TypeMethodDescriptionvoidConsoleUpdateManager.check(UpdateType type) Fire off a checker task Non-blocking.voidConsoleUpdateManager.check(UpdateType type, String id) Fire off a checker task Non-blocking.DevSU3UpdateHandler.check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime) DummyHandler.check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime) Spins off an UpdateTask that sleepsNewsHandler.check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime) This will check for news or router updates (it does the same thing).PluginUpdateHandler.check(UpdateType type, UpdateMethod method, String appName, String currentVersion, long maxTime) check a single pluginUnsignedUpdateHandler.check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime) ConsoleUpdateManager.checkAvailable(UpdateType type) Is an update available? Blocking.ConsoleUpdateManager.checkAvailable(UpdateType type, long maxWait) Is an update available? Blocking.ConsoleUpdateManager.checkAvailable(UpdateType type, String id, long maxWait) Is an update available? Blocking.ConsoleUpdateManager.getUpdateAvailable(UpdateType type) Is an update available? Non-blocking, returns result of last check or notification from an Updater.ConsoleUpdateManager.getUpdateAvailable(UpdateType type, String id) Is an update available? Non-blocking, returns result of last check or notification from an Updater.ConsoleUpdateManager.getUpdateConstraint(UpdateType type, String id) Is there a reason we can't download the update?ConsoleUpdateManager.getUpdateDownloaded(UpdateType type) Is an update downloaded? Non-blocking, returns result of last downloadConsoleUpdateManager.getUpdateDownloaded(UpdateType type, String id) Is an update downloaded? Non-blocking, returns result of last downloadConsoleUpdateManager.getUpdateURLs(UpdateType type, String id, UpdateMethod method) Where to find various resourcesbooleanConsoleUpdateManager.isCheckInProgress(UpdateType type) Is a check in progress?booleanConsoleUpdateManager.isCheckInProgress(UpdateType type, String id) Is a check in progress?booleanConsoleUpdateManager.isUpdateInProgress(UpdateType type) Is a download in progress?booleanConsoleUpdateManager.isUpdateInProgress(UpdateType type, String id) Is a download in progress?voidConsoleUpdateManager.notifyInstalled(UpdateType type, String id, String version) Adds to installed, removes from downloaded and availablebooleanConsoleUpdateManager.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.booleanConsoleUpdateManager.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.voidConsoleUpdateManager.notifyVersionConstraint(UpdateTask task, URI newsSource, UpdateType type, String id, String newVersion, String message) A new version is available but cannot be downloaded or installed due to some constraint.voidConsoleUpdateManager.register(Checker updater, UpdateType type, UpdateMethod method, int priority) voidConsoleUpdateManager.register(UpdatePostProcessor upp, UpdateType type, int fileType) Register a post-processor for this UpdateType and SU3File file type.voidConsoleUpdateManager.register(Updater updater, UpdateType type, UpdateMethod method, int priority) Call once for each type/method pair.voidConsoleUpdateManager.stopCheck(UpdateType type) Stop this checkvoidConsoleUpdateManager.stopCheck(UpdateType type, String id) Stop this checkvoidConsoleUpdateManager.stopUpdate(UpdateType type) Stop this downloadvoidConsoleUpdateManager.stopUpdate(UpdateType type, String id) Stop this downloadvoidConsoleUpdateManager.unregister(Checker updater, UpdateType type, UpdateMethod method) voidConsoleUpdateManager.unregister(Updater updater, UpdateType type, UpdateMethod method) booleanConsoleUpdateManager.update(UpdateType type) Non-blocking.booleanConsoleUpdateManager.update(UpdateType type, long maxTime) Non-blocking.booleanConsoleUpdateManager.update(UpdateType type, String id) Non-blocking.booleanConsoleUpdateManager.update(UpdateType type, String id, long maxTime) Non-blocking.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.DummyHandler.update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime) Spins off an UpdateTask that sleepsPluginUpdateHandler.update(UpdateType type, UpdateMethod method, List<URI> updateSources, String appName, String newVersion, long maxTime) download a single pluginUnsignedUpdateHandler.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.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.Constructors in net.i2p.router.update with parameters of type UpdateTypeModifierConstructorDescriptionUpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, List<URI> uris) Uses router version for partial checksUpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, List<URI> uris, String currentVersion) UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, UpdateMethod method, List<URI> uris) Uses router version for partial checksUpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, UpdateMethod method, List<URI> uris, String currentVersion) -
Uses of UpdateType in net.i2p.update
Methods in net.i2p.update that return UpdateTypeModifier and TypeMethodDescriptionUpdateTask.getType()static UpdateTypeReturns the enum constant of this type with the specified name.static UpdateType[]UpdateType.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 UpdateTypeModifier and TypeMethodDescriptionChecker.check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime) Check for updates.UpdateManager.checkAvailable(UpdateType type) Is an update available? Blocking.UpdateManager.checkAvailable(UpdateType type, long maxWait) Is an update available? Blocking.UpdateManager.checkAvailable(UpdateType type, String id, long maxWait) Is an update available? Blocking.booleanUpdateManager.isUpdateInProgress(UpdateType type) Is a router update being downloaded?booleanUpdateManager.isUpdateInProgress(UpdateType type, String id) Is a router update being downloaded?voidUpdateManager.notifyInstalled(UpdateType type, String id, String version) Tell the UpdateManager that a version is already installed.booleanUpdateManager.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.booleanUpdateManager.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.voidUpdateManager.notifyVersionConstraint(UpdateTask task, URI newsSource, UpdateType type, String id, String newVersion, String message) A new version is available but cannot be downloaded or installed due to some constraint.voidUpdateManager.register(Checker checker, UpdateType type, UpdateMethod method, int priority) voidUpdateManager.register(UpdatePostProcessor upp, UpdateType type, int fileType) Register a post-processor for this UpdateType and SU3File file type.voidUpdateManager.register(Updater updater, UpdateType type, UpdateMethod method, int priority) Call once for each type/method pair.voidUpdateManager.unregister(Checker checker, UpdateType type, UpdateMethod method) voidUpdateManager.unregister(Updater updater, UpdateType type, UpdateMethod method) booleanUpdateManager.update(UpdateType type) Non-blocking.booleanUpdateManager.update(UpdateType type, long maxTime) Non-blocking.booleanUpdateManager.update(UpdateType type, String id) Non-blocking.booleanUpdateManager.update(UpdateType type, String id, long maxTime) Non-blocking.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.voidUpdatePostProcessor.updateDownloadedandVerified(UpdateType type, int fileType, String version, File file) Notify the post-processor that an update has been downloaded and verified. -
Uses of UpdateType in org.klomp.snark
Methods in org.klomp.snark that return UpdateTypeMethods in org.klomp.snark with parameters of type UpdateTypeModifier and TypeMethodDescriptionUpdateHandler.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.Constructors in org.klomp.snark with parameters of type UpdateTypeModifierConstructorDescriptionUpdateRunner(I2PAppContext ctx, UpdateManager umgr, SnarkManager smgr, UpdateType type, List<URI> uris, String newVersion)