|
|||||||||
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(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,
Map<Integer,Object> properties,
PluginInstallationListener listener)
|
FilePluginInstaller |
installFromFile(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(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,
Map<Integer,Object> properties)
|
Method Detail |
---|
StandardPlugin[] getStandardPlugins() throws PluginException
PluginException
StandardPlugin getStandardPlugin(String id) throws PluginException
PluginException
void requestInstall(String reason, InstallablePlugin plugin) throws PluginException
plugin
-
PluginException
void install(InstallablePlugin[] plugins, boolean shared) throws PluginException
plugins
-
PluginException
UpdateCheckInstance install(InstallablePlugin[] plugins, boolean shared, Map<Integer,Object> properties, PluginInstallationListener listener) throws PluginException
PluginException
FilePluginInstaller installFromFile(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, Map<Integer,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 |