Package net.i2p.update
Interface UpdateTask
-
- All Known Implementing Classes:
DevSU3UpdateChecker,DevSU3UpdateRunner,NewsFetcher,PluginUpdateChecker,PluginUpdateRunner,UnsignedUpdateChecker,UnsignedUpdateRunner,UpdateRunner,UpdateRunner
public interface UpdateTaskA running check or download. Cannot be restarted.- Since:
- 0.9.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetID()Valid for pluginsUpdateMethodgetMethod()UpdateTypegetType()URIgetURI()The current URI being checked or downloaded from.booleanisRunning()voidshutdown()voidstart()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
-
-