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
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 PluginInstaller getInstaller()
           
 java.lang.String getName()
           
 java.lang.String getRelativeURLBase()
           
 java.lang.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

java.lang.String getId()

getVersion

java.lang.String getVersion()

getName

java.lang.String getName()

getDescription

java.lang.String getDescription()

getRelativeURLBase

java.lang.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()