Package com.biglybt.pif.installer
Interface InstallablePlugin
-
- All Known Subinterfaces:
FilePluginInstaller
,StandardPlugin
- All Known Implementing Classes:
FilePluginInstallerImpl
,InstallablePluginImpl
,StandardPluginImpl
public interface InstallablePlugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluginInterface
getAlreadyInstalledPlugin()
Returns the plugin's interface if already installed, null if it isn'tjava.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 processvoid
install(boolean shared, boolean low_noise, boolean wait_until_done, java.util.Map<java.lang.Integer,java.lang.Object> properties)
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 userwait_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()
-
install
void install(boolean shared, boolean low_noise, boolean wait_until_done, java.util.Map<java.lang.Integer,java.lang.Object> properties) throws PluginException
- Throws:
PluginException
-
-