public static class PluginManager.PluginProgress
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalisedPluginName() |
java.lang.String |
getName()
Returns the name by which the plugin is loaded.
|
freenet.pluginmanager.PluginManager.PluginProgress.ProgressState |
getProgress()
Returns the current state of the plugin start procedure.
|
long |
getTime()
Returns the number of milliseconds this plugin is already being
loaded.
|
boolean |
isOfficialPlugin() |
void |
kill() |
void |
setDownloading() |
void |
setDownloadProgress(int minSuccess,
int current,
int total,
int failed,
int fatallyFailed,
boolean finalised) |
HTMLNode |
toLocalisedHTML() |
java.lang.String |
toString()
If this object is one of the constants
PluginManager.PluginProgress.ProgressState.DOWNLOADING or
PluginManager.PluginProgress.ProgressState.STARTING , the name of those constants will be returned,
otherwise a textual representation of the plugin progress is
returned. |
public void kill()
public long getTime()
public java.lang.String getName()
public freenet.pluginmanager.PluginManager.PluginProgress.ProgressState getProgress()
public java.lang.String toString()
PluginManager.PluginProgress.ProgressState.DOWNLOADING
or
PluginManager.PluginProgress.ProgressState.STARTING
, the name of those constants will be returned,
otherwise a textual representation of the plugin progress is
returned.toString
in class java.lang.Object
public HTMLNode toLocalisedHTML()
public void setDownloadProgress(int minSuccess, int current, int total, int failed, int fatallyFailed, boolean finalised)
public void setDownloading()
public boolean isOfficialPlugin()
public java.lang.String getLocalisedPluginName()