Package 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.
- Since:
- 0.9.4
-
Method Summary
-
Method Details
-
start
void start()Tasks must not start themselves in the constructor. Do it here. -
shutdown
void shutdown() -
isRunning
boolean isRunning() -
getType
UpdateType getType() -
getMethod
UpdateMethod getMethod() -
getURI
URI getURI()The current URI being checked or downloaded from. Can change if there are multiple URIs to try. -
getID
String getID()Valid for plugins
-