|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginInstaller
Method Summary | |
---|---|
void |
addListener(PluginInstallerListener l)
|
StandardPlugin |
getStandardPlugin(java.lang.String id)
|
StandardPlugin[] |
getStandardPlugins()
Gives access to the list of standard plugins listed on the Azureus website |
void |
install(InstallablePlugin[] plugins,
boolean shared)
Install one of more plugins in a single operation |
UpdateCheckInstance |
install(InstallablePlugin[] plugins,
boolean shared,
java.util.Map<java.lang.Integer,java.lang.Object> properties,
PluginInstallationListener listener)
|
FilePluginInstaller |
installFromFile(java.io.File file)
Installs a plugin from a file - must be either a ZIP file or a JAR file as per normal plugin update semantics. |
void |
removeListener(PluginInstallerListener l)
|
void |
requestInstall(java.lang.String reason,
InstallablePlugin plugin)
Requests any registered listeners to initiate a plugin install process |
void |
uninstall(PluginInterface plugin_interface)
|
void |
uninstall(PluginInterface[] plugin_interfaces)
|
void |
uninstall(PluginInterface[] plugin_interfaces,
PluginInstallationListener listener)
|
UpdateCheckInstance |
uninstall(PluginInterface[] plugin_interfaces,
PluginInstallationListener listener,
java.util.Map<java.lang.Integer,java.lang.Object> properties)
|
Method Detail |
---|
StandardPlugin[] getStandardPlugins() throws PluginException
PluginException
StandardPlugin getStandardPlugin(java.lang.String id) throws PluginException
PluginException
void requestInstall(java.lang.String reason, InstallablePlugin plugin) throws PluginException
plugin
-
PluginException
void install(InstallablePlugin[] plugins, boolean shared) throws PluginException
plugins
-
PluginException
UpdateCheckInstance install(InstallablePlugin[] plugins, boolean shared, java.util.Map<java.lang.Integer,java.lang.Object> properties, PluginInstallationListener listener) throws PluginException
PluginException
FilePluginInstaller installFromFile(java.io.File file) throws PluginException
file
-
PluginException
void uninstall(PluginInterface plugin_interface) throws PluginException
PluginException
void uninstall(PluginInterface[] plugin_interfaces) throws PluginException
PluginException
void uninstall(PluginInterface[] plugin_interfaces, PluginInstallationListener listener) throws PluginException
PluginException
UpdateCheckInstance uninstall(PluginInterface[] plugin_interfaces, PluginInstallationListener listener, java.util.Map<java.lang.Integer,java.lang.Object> properties) throws PluginException
PluginException
void addListener(PluginInstallerListener l)
void removeListener(PluginInstallerListener l)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |