@Deprecated public interface PluginHelper
Modifier and Type | Method and Description |
---|---|
void |
disablePlugin(Plugin plugin)
Deprecated.
Disable the plugin.
|
void |
disablePluginModule(Plugin plugin,
String moduleKey)
Deprecated.
|
void |
disablePluginWithoutPersisting(Plugin plugin)
Deprecated.
Disable the plugin without persisting.
|
void |
enablePlugin(Plugin plugin)
Deprecated.
Enable the plugin.
|
void |
enablePluginModule(Plugin plugin,
String moduleKey)
Deprecated.
|
void |
installPlugin(UploadablePlugin plugin)
Deprecated.
Install the plugin as the currently logged in User.
|
void |
installPluginIfNotInstalled(UploadablePlugin plugin)
Deprecated.
Equivalent of calling
isPluginInstalled(Plugin) and installPlugin(UploadablePlugin) . |
boolean |
isPluginEnabled(Plugin plugin)
Deprecated.
Returns true if the given plugin is currently enabled, otherwise false.
|
boolean |
isPluginInstalled(Plugin plugin)
Deprecated.
Returns true if the given plugin is currently installed, otherwise false.
|
boolean |
isPluginModuleEnabled(Plugin plugin,
String moduleKey)
Deprecated.
|
void |
resetPluginEnablementState()
Deprecated.
|
void |
uninstallPlugin(Plugin plugin)
Deprecated.
Uninstall the plugin as the currently logged in User.
|
void installPluginIfNotInstalled(UploadablePlugin plugin) throws IOException
isPluginInstalled(Plugin)
and installPlugin(UploadablePlugin)
.IOException
void installPlugin(UploadablePlugin plugin) throws IOException
RuntimeException
- if the plugin is already installed.FileNotFoundException
- if the plugin file does not exist locallyIOException
isPluginInstalled(Plugin)
void uninstallPlugin(Plugin plugin)
RuntimeException
- if the plugin is not installed.isPluginInstalled(Plugin)
boolean isPluginInstalled(Plugin plugin)
void enablePlugin(Plugin plugin)
RuntimeException
- if the plugin is already enabled.isPluginEnabled(Plugin)
void resetPluginEnablementState()
void disablePlugin(Plugin plugin)
RuntimeException
- if the plugin is not enabled.isPluginEnabled(Plugin)
void disablePluginWithoutPersisting(Plugin plugin)
RuntimeException
- if the plugin is not enabled.isPluginEnabled(Plugin)
boolean isPluginEnabled(Plugin plugin)
Copyright © 2003–2015 Atlassian. All rights reserved.