org.gudy.azureus2.pluginsimpl.local.installer
Class InstallablePluginImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.installer.InstallablePluginImpl
- All Implemented Interfaces:
- InstallablePlugin
- Direct Known Subclasses:
- FilePluginInstallerImpl, StandardPluginImpl
public abstract class InstallablePluginImpl
- extends Object
- implements InstallablePlugin
- Author:
- parg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstallablePluginImpl
protected InstallablePluginImpl(PluginInstallerImpl _installer)
isAlreadyInstalled
public boolean isAlreadyInstalled()
- Returns the plugin's interface if already installed, null if it isn't
- Specified by:
isAlreadyInstalled
in interface InstallablePlugin
- Returns:
getAlreadyInstalledPlugin
public PluginInterface getAlreadyInstalledPlugin()
- Description copied from interface:
InstallablePlugin
- Returns the plugin's interface if already installed, null if it isn't
- Specified by:
getAlreadyInstalledPlugin
in interface InstallablePlugin
- Returns:
install
public void install(boolean shared)
throws PluginException
- Specified by:
install
in interface InstallablePlugin
- Throws:
PluginException
install
public void install(boolean shared,
boolean low_noise,
boolean wait_until_done)
throws PluginException
- Description copied from interface:
InstallablePlugin
- Install with a few options to control process
- Specified by:
install
in interface InstallablePlugin
low_noise
- don't prompt userwait_until_done
- if true blocks until process complete, otherwise it is async
- Throws:
PluginException
uninstall
public void uninstall()
throws PluginException
- Description copied from interface:
InstallablePlugin
- uninstall this plugin
- Specified by:
uninstall
in interface InstallablePlugin
- Throws:
PluginException
getInstaller
public PluginInstaller getInstaller()
- Specified by:
getInstaller
in interface InstallablePlugin
addUpdate
public abstract void addUpdate(UpdateCheckInstance inst,
PluginUpdatePlugin plugin_update_plugin,
Plugin plugin,
PluginInterface plugin_interface)