public class EventDispatchingPluginController extends Object implements com.atlassian.plugin.PluginController
PluginController
then
fires an event to replicate operations across the Confluence cluster.Constructor and Description |
---|
EventDispatchingPluginController() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.plugin.ModuleDescriptor<?> |
addDynamicModule(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element module) |
void |
disablePlugin(String key) |
void |
disablePluginModule(String completeKey) |
void |
disablePluginWithoutPersisting(String key) |
void |
enablePlugin(String key)
Deprecated.
Since 3.3, use
enablePlugins(String...) |
void |
enablePluginModule(String completeKey) |
void |
enablePlugins(String... keys) |
String |
installPlugin(com.atlassian.plugin.PluginArtifact pluginArtifact)
Deprecated.
Since 3.3, use
installPlugins(com.atlassian.plugin.PluginArtifact...) |
Set<String> |
installPlugins(com.atlassian.plugin.PluginArtifact... pluginArtifacts) |
void |
removeDynamicModule(com.atlassian.plugin.Plugin plugin,
com.atlassian.plugin.ModuleDescriptor<?> module) |
void |
revertRestartRequiredChange(String pluginKey) |
int |
scanForNewPlugins() |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
void |
setPluginController(com.atlassian.plugin.PluginController pluginController) |
void |
setPluginDataDao(PluginDataDao pluginDataDao) |
void |
uninstall(com.atlassian.plugin.Plugin plugin) |
public void setPluginDataDao(PluginDataDao pluginDataDao)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void setPluginController(com.atlassian.plugin.PluginController pluginController)
@Deprecated public void enablePlugin(String key)
enablePlugins(String...)
enablePlugin
in interface com.atlassian.plugin.PluginController
public void disablePlugin(String key)
disablePlugin
in interface com.atlassian.plugin.PluginController
public void enablePluginModule(String completeKey)
enablePluginModule
in interface com.atlassian.plugin.PluginController
public void disablePluginModule(String completeKey)
disablePluginModule
in interface com.atlassian.plugin.PluginController
@Deprecated public String installPlugin(com.atlassian.plugin.PluginArtifact pluginArtifact) throws com.atlassian.plugin.PluginParseException
installPlugins(com.atlassian.plugin.PluginArtifact...)
installPlugin
in interface com.atlassian.plugin.PluginController
com.atlassian.plugin.PluginParseException
public Set<String> installPlugins(com.atlassian.plugin.PluginArtifact... pluginArtifacts) throws com.atlassian.plugin.PluginParseException
installPlugins
in interface com.atlassian.plugin.PluginController
com.atlassian.plugin.PluginParseException
public void uninstall(com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.PluginException
uninstall
in interface com.atlassian.plugin.PluginController
com.atlassian.plugin.PluginException
public int scanForNewPlugins() throws com.atlassian.plugin.PluginParseException
scanForNewPlugins
in interface com.atlassian.plugin.PluginController
com.atlassian.plugin.PluginParseException
public void disablePluginWithoutPersisting(String key)
disablePluginWithoutPersisting
in interface com.atlassian.plugin.PluginController
public void enablePlugins(String... keys)
enablePlugins
in interface com.atlassian.plugin.PluginController
public void revertRestartRequiredChange(String pluginKey) throws com.atlassian.plugin.PluginException
revertRestartRequiredChange
in interface com.atlassian.plugin.PluginController
com.atlassian.plugin.PluginException
public void removeDynamicModule(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.ModuleDescriptor<?> module)
removeDynamicModule
in interface com.atlassian.plugin.PluginController
public com.atlassian.plugin.ModuleDescriptor<?> addDynamicModule(com.atlassian.plugin.Plugin plugin, org.dom4j.Element module)
addDynamicModule
in interface com.atlassian.plugin.PluginController
Copyright © 2003–2017 Atlassian. All rights reserved.