Uses of Class
net.i2p.update.UpdateType
-
Packages that use UpdateType Package Description net.i2p.router.update Classes to implement the update process.net.i2p.update Interfaces for classes to assist in the update process without needing the 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 UpdateType in net.i2p.router.update
Fields in net.i2p.router.update declared as UpdateType Modifier and Type Field Description protected UpdateType
UpdateRunner. _type
Methods in net.i2p.router.update that return UpdateType Modifier and Type Method Description UpdateType
UpdateRunner. getType()
Methods in net.i2p.router.update with parameters of type UpdateType Modifier and Type Method Description void
ConsoleUpdateManager. check(UpdateType type)
Fire off a checker task Non-blocking.void
ConsoleUpdateManager. check(UpdateType type, String id)
Fire off a checker task Non-blocking.UpdateTask
DevSU3UpdateHandler. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
UpdateTask
DummyHandler. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
Spins off an UpdateTask that sleepsUpdateTask
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
PluginUpdateHandler. check(UpdateType type, UpdateMethod method, String appName, String currentVersion, long maxTime)
check a single pluginUpdateTask
UnsignedUpdateHandler. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
String
ConsoleUpdateManager. checkAvailable(UpdateType type)
Is an update available? Blocking.String
ConsoleUpdateManager. checkAvailable(UpdateType type, long maxWait)
Is an update available? Blocking.String
ConsoleUpdateManager. checkAvailable(UpdateType type, String id, long maxWait)
Is an update available? Blocking.String
ConsoleUpdateManager. getUpdateAvailable(UpdateType type)
Is an update available? Non-blocking, returns result of last check or notification from an Updater.String
ConsoleUpdateManager. getUpdateAvailable(UpdateType type, String id)
Is an update available? Non-blocking, returns result of last check or notification from an Updater.String
ConsoleUpdateManager. getUpdateConstraint(UpdateType type, String id)
Is there a reason we can't download the update?String
ConsoleUpdateManager. getUpdateDownloaded(UpdateType type)
Is an update downloaded? Non-blocking, returns result of last downloadString
ConsoleUpdateManager. getUpdateDownloaded(UpdateType type, String id)
Is an update downloaded? Non-blocking, returns result of last downloadList<URI>
ConsoleUpdateManager. getUpdateURLs(UpdateType type, String id, UpdateMethod method)
Where to find various resourcesboolean
ConsoleUpdateManager. isCheckInProgress(UpdateType type)
Is a check in progress?boolean
ConsoleUpdateManager. isCheckInProgress(UpdateType type, String id)
Is a check in progress?boolean
ConsoleUpdateManager. isUpdateInProgress(UpdateType type)
Is a download in progress?boolean
ConsoleUpdateManager. isUpdateInProgress(UpdateType type, String id)
Is a download in progress?void
ConsoleUpdateManager. notifyInstalled(UpdateType type, String id, String version)
Adds to installed, removes from downloaded and availableboolean
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.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. 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.void
ConsoleUpdateManager. register(Checker updater, UpdateType type, UpdateMethod method, int priority)
void
ConsoleUpdateManager. register(UpdatePostProcessor upp, UpdateType type, int fileType)
Register a post-processor for this UpdateType and SU3File file type.void
ConsoleUpdateManager. register(Updater updater, UpdateType type, UpdateMethod method, int priority)
Call once for each type/method pair.void
ConsoleUpdateManager. stopCheck(UpdateType type)
Stop this checkvoid
ConsoleUpdateManager. stopCheck(UpdateType type, String id)
Stop this checkvoid
ConsoleUpdateManager. stopUpdate(UpdateType type)
Stop this downloadvoid
ConsoleUpdateManager. stopUpdate(UpdateType type, String id)
Stop this downloadvoid
ConsoleUpdateManager. unregister(Checker updater, UpdateType type, UpdateMethod method)
void
ConsoleUpdateManager. unregister(Updater updater, UpdateType type, UpdateMethod method)
boolean
ConsoleUpdateManager. update(UpdateType type)
Non-blocking.boolean
ConsoleUpdateManager. update(UpdateType type, long maxTime)
Non-blocking.boolean
ConsoleUpdateManager. update(UpdateType type, String id)
Non-blocking.boolean
ConsoleUpdateManager. update(UpdateType type, String id, long maxTime)
Non-blocking.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
DummyHandler. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)
Spins off an UpdateTask that sleepsUpdateTask
PluginUpdateHandler. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String appName, String newVersion, long maxTime)
download a single pluginUpdateTask
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.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.Constructors in net.i2p.router.update with parameters of type UpdateType Constructor Description UpdateRunner(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 UpdateType Modifier and Type Method Description UpdateType
UpdateTask. getType()
static UpdateType
UpdateType. valueOf(String name)
Returns 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 UpdateType Modifier and Type Method Description UpdateTask
Checker. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
Check for updates.String
UpdateManager. checkAvailable(UpdateType type)
Is an update available? Blocking.String
UpdateManager. checkAvailable(UpdateType type, long maxWait)
Is an update available? Blocking.String
UpdateManager. checkAvailable(UpdateType type, String id, long maxWait)
Is an update available? Blocking.boolean
UpdateManager. isUpdateInProgress(UpdateType type)
Is a router update being downloaded?boolean
UpdateManager. isUpdateInProgress(UpdateType type, String id)
Is a router update being downloaded?void
UpdateManager. notifyInstalled(UpdateType type, String id, String version)
Tell the UpdateManager that a version is already installed.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.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. 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.void
UpdateManager. register(Checker checker, UpdateType type, UpdateMethod method, int priority)
void
UpdateManager. register(UpdatePostProcessor upp, UpdateType type, int fileType)
Register a post-processor for this UpdateType and SU3File file type.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)
void
UpdateManager. unregister(Updater updater, UpdateType type, UpdateMethod method)
boolean
UpdateManager. update(UpdateType type)
Non-blocking.boolean
UpdateManager. update(UpdateType type, long maxTime)
Non-blocking.boolean
UpdateManager. update(UpdateType type, String id)
Non-blocking.boolean
UpdateManager. update(UpdateType type, String id, long maxTime)
Non-blocking.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.void
UpdatePostProcessor. 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 UpdateType Modifier and Type Method Description UpdateType
UpdateRunner. getType()
Methods in org.klomp.snark with parameters of type UpdateType Modifier and Type Method 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.Constructors in org.klomp.snark with parameters of type UpdateType Constructor Description UpdateRunner(I2PAppContext ctx, UpdateManager umgr, SnarkManager smgr, UpdateType type, List<URI> uris, String newVersion)
-