Class InstallablePluginImpl
java.lang.Object
com.biglybt.pifimpl.local.installer.InstallablePluginImpl
- All Implemented Interfaces:
InstallablePlugin
- Direct Known Subclasses:
FilePluginInstallerImpl
,StandardPluginImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
addUpdate
(UpdateCheckInstance inst, PluginUpdatePlugin plugin_update_plugin, Plugin plugin, PluginInterface plugin_interface) Returns the plugin's interface if already installed, null if it isn'tvoid
install
(boolean shared) void
install
(boolean shared, boolean low_noise, boolean wait_until_done) Install with a few options to control processvoid
boolean
Returns the plugin's interface if already installed, null if it isn'tvoid
uninstall this pluginMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.pif.installer.InstallablePlugin
getDescription, getId, getName, getRelativeURLBase, getVersion
-
Field Details
-
installer
-
-
Constructor Details
-
InstallablePluginImpl
-
-
Method Details
-
isAlreadyInstalled
public boolean isAlreadyInstalled()Returns the plugin's interface if already installed, null if it isn't- Specified by:
isAlreadyInstalled
in interfaceInstallablePlugin
- Returns:
-
getAlreadyInstalledPlugin
Description copied from interface:InstallablePlugin
Returns the plugin's interface if already installed, null if it isn't- Specified by:
getAlreadyInstalledPlugin
in interfaceInstallablePlugin
- Returns:
-
install
- Specified by:
install
in interfaceInstallablePlugin
- 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 interfaceInstallablePlugin
low_noise
- don't prompt userwait_until_done
- if true blocks until process complete, otherwise it is async- Throws:
PluginException
-
install
public void install(boolean shared, boolean low_noise, boolean wait_until_done, Map<Integer, Object> properties) throws PluginException- Specified by:
install
in interfaceInstallablePlugin
- Throws:
PluginException
-
uninstall
Description copied from interface:InstallablePlugin
uninstall this plugin- Specified by:
uninstall
in interfaceInstallablePlugin
- Throws:
PluginException
-
getInstaller
- Specified by:
getInstaller
in interfaceInstallablePlugin
-
addUpdate
public abstract void addUpdate(UpdateCheckInstance inst, PluginUpdatePlugin plugin_update_plugin, Plugin plugin, PluginInterface plugin_interface)
-