org.gudy.azureus2.plugins.installer
Interface InstallablePlugin

All Known Subinterfaces:
FilePluginInstaller, StandardPlugin
All Known Implementing Classes:
FilePluginInstallerImpl, InstallablePluginImpl, StandardPluginImpl

public interface InstallablePlugin

Author:
parg

Method Summary
 PluginInterface getAlreadyInstalledPlugin()
          Returns the plugin's interface if already installed, null if it isn't
 String getDescription()
           
 String getId()
           
 PluginInstaller getInstaller()
           
 String getName()
           
 String getRelativeURLBase()
           
 String getVersion()
           
 void install(boolean shared)
           
 void install(boolean shared, boolean low_noise, boolean wait_until_done)
          Install with a few options to control process
 boolean isAlreadyInstalled()
           
 void uninstall()
          uninstall this plugin
 

Method Detail

getId

String getId()

getVersion

String getVersion()

getName

String getName()

getDescription

String getDescription()

getRelativeURLBase

String getRelativeURLBase()

getAlreadyInstalledPlugin

PluginInterface getAlreadyInstalledPlugin()
Returns the plugin's interface if already installed, null if it isn't

Returns:

isAlreadyInstalled

boolean isAlreadyInstalled()

install

void install(boolean shared)
             throws PluginException
Throws:
PluginException

install

void install(boolean shared,
             boolean low_noise,
             boolean wait_until_done)
             throws PluginException
Install with a few options to control process

Parameters:
shared -
low_noise - don't prompt user
wait_until_done - if true blocks until process complete, otherwise it is async
Throws:
PluginException
Since:
3.1.1.1

uninstall

void uninstall()
               throws PluginException
uninstall this plugin

Throws:
PluginException

getInstaller

PluginInstaller getInstaller()