Package net.i2p.update
Interface Checker
-
- All Known Implementing Classes:
DevSU3UpdateHandler
,DummyHandler
,NewsHandler
,PluginUpdateHandler
,UnsignedUpdateHandler
public interface Checker
Controls one or more types of updates. This must be registered with the UpdateManager.- Since:
- 0.9.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateTask
check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
Check for updates.
-
-
-
Method Detail
-
check
UpdateTask check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
Check for updates. Should not block. If any are found, call back to UpdateManager.notifyUpdateAvailable().- Parameters:
id
- plugin name or ignoredmaxTime
- how long you have- Returns:
- active task or null if unable to check
-
-