| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PluginState
This object provides information the current state of the plugin, and provides various mechanisms to query and control plugins and their integration with Azureus at a low-level. Most plugins will have no need to interact with this object - it is primarily used by Azureus for plugin management.
| Method Summary | |
|---|---|
 boolean | 
hasFailed()
Returns true if there was a problem loading or initialising the plugin.  | 
 boolean | 
isBuiltIn()
Built-in plugins are those used internally by Azureus, for example the UPnP plugin.  | 
 boolean | 
isDisabled()
Returns true if the plugin has been marked as disabled, and prevented from initialising.  | 
 boolean | 
isInitialisationComplete()
 | 
 boolean | 
isLoadedAtStartup()
Returns true if the plugin is set to load at startup, false otherwise.  | 
 boolean | 
isMandatory()
Whether or not this is a mandatory plugin.  | 
 boolean | 
isOperational()
Returns true if the plugin is running, returns false if the plugin isn't running for some reason.  | 
 boolean | 
isShared()
 | 
 boolean | 
isUnloadable()
 | 
 boolean | 
isUnloaded()
 | 
 void | 
reload()
 | 
 void | 
setDisabled(boolean disabled)
Sets whether the plugin can be loaded or not.  | 
 void | 
setLoadedAtStartup(boolean load_at_startup)
Sets whether the plugin is loaded at startup or not.  | 
 void | 
uninstall()
Uninstall this plugin if it has been loaded from a plugin directory.  | 
 void | 
unload()
 | 
| Method Detail | 
|---|
boolean isLoadedAtStartup()
void setLoadedAtStartup(boolean load_at_startup)
boolean hasFailed()
boolean isDisabled()
void setDisabled(boolean disabled)
setLoadedAtStartup(boolean) instead. This needs
 to be called prior to a plugin's initialisation to take effect.
disabled - boolean isBuiltIn()
boolean isMandatory()
boolean isOperational()
boolean isInitialisationComplete()
void uninstall()
               throws PluginException
PluginExceptionboolean isShared()
boolean isUnloadable()
boolean isUnloaded()
void unload()
            throws PluginException
PluginException
void reload()
            throws PluginException
PluginException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||