com.atlassian.confluence.plugin
Class EventDispatchingPluginController
java.lang.Object
com.atlassian.confluence.plugin.EventDispatchingPluginController
- All Implemented Interfaces:
- com.atlassian.plugin.PluginController
public class EventDispatchingPluginController
- extends java.lang.Object
- implements com.atlassian.plugin.PluginController
Delegates each control operation to a PluginController
then
fires an event to replicate operations across the Confluence cluster.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventDispatchingPluginController
public EventDispatchingPluginController()
setPluginDataDao
public void setPluginDataDao(PluginDataDao pluginDataDao)
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
setPluginController
public void setPluginController(com.atlassian.plugin.PluginController pluginController)
enablePlugin
@Deprecated
public void enablePlugin(java.lang.String key)
- Deprecated. Since 3.3, use
enablePlugins(String...)
- Specified by:
enablePlugin
in interface com.atlassian.plugin.PluginController
disablePlugin
public void disablePlugin(java.lang.String key)
- Specified by:
disablePlugin
in interface com.atlassian.plugin.PluginController
enablePluginModule
public void enablePluginModule(java.lang.String completeKey)
- Specified by:
enablePluginModule
in interface com.atlassian.plugin.PluginController
disablePluginModule
public void disablePluginModule(java.lang.String completeKey)
- Specified by:
disablePluginModule
in interface com.atlassian.plugin.PluginController
installPlugin
@Deprecated
public java.lang.String installPlugin(com.atlassian.plugin.PluginArtifact pluginArtifact)
throws com.atlassian.plugin.PluginParseException
- Deprecated. Since 3.3, use
installPlugins(com.atlassian.plugin.PluginArtifact...)
- Specified by:
installPlugin
in interface com.atlassian.plugin.PluginController
- Throws:
com.atlassian.plugin.PluginParseException
installPlugins
public java.util.Set<java.lang.String> installPlugins(com.atlassian.plugin.PluginArtifact... pluginArtifacts)
throws com.atlassian.plugin.PluginParseException
- Specified by:
installPlugins
in interface com.atlassian.plugin.PluginController
- Throws:
com.atlassian.plugin.PluginParseException
uninstall
public void uninstall(com.atlassian.plugin.Plugin plugin)
throws com.atlassian.plugin.PluginException
- Specified by:
uninstall
in interface com.atlassian.plugin.PluginController
- Throws:
com.atlassian.plugin.PluginException
scanForNewPlugins
public int scanForNewPlugins()
throws com.atlassian.plugin.PluginParseException
- Specified by:
scanForNewPlugins
in interface com.atlassian.plugin.PluginController
- Throws:
com.atlassian.plugin.PluginParseException
disablePluginWithoutPersisting
public void disablePluginWithoutPersisting(java.lang.String key)
- Specified by:
disablePluginWithoutPersisting
in interface com.atlassian.plugin.PluginController
enablePlugins
public void enablePlugins(java.lang.String... keys)
- Specified by:
enablePlugins
in interface com.atlassian.plugin.PluginController
revertRestartRequiredChange
public void revertRestartRequiredChange(java.lang.String pluginKey)
throws com.atlassian.plugin.PluginException
- Specified by:
revertRestartRequiredChange
in interface com.atlassian.plugin.PluginController
- Throws:
com.atlassian.plugin.PluginException
Copyright © 2003-2013 Atlassian. All Rights Reserved.