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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getID()
Valid for pluginsUpdateMethod
getMethod()
UpdateType
getType()
URI
getURI()
The current URI being checked or downloaded from.boolean
isRunning()
void
shutdown()
void
start()
Tasks must not start themselves in the constructor.
-
-
-
Method Detail
-
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
-
-