public class MergerListener extends Object
Constructor and Description |
---|
MergerListener(MergerUpdater mergerManager)
This class listens for plugin events and updates the mergerManager when a change has happened.
|
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(com.atlassian.plugin.event.events.PluginUpgradedEvent event) |
void |
handlePluginEvent(com.atlassian.plugin.event.events.PluginDisabledEvent e) |
void |
handlePluginEvent(com.atlassian.plugin.event.events.PluginEnabledEvent e) |
void |
handlePluginEvent(PluginEvent e)
Deprecated.
since 5.8.3
|
void |
handlePluginFrameworkStarted(PluginFrameworkStartedEvent e)
This is needed to get any bundled merger into the manager.
|
public MergerListener(MergerUpdater mergerManager)
mergerManager
- the merger manager to use@Deprecated @EventListener public void handlePluginEvent(PluginEvent e)
@EventListener public void handlePluginEvent(com.atlassian.plugin.event.events.PluginEnabledEvent e)
@EventListener public void handlePluginEvent(com.atlassian.plugin.event.events.PluginDisabledEvent e)
@EventListener public void handleEvent(com.atlassian.plugin.event.events.PluginUpgradedEvent event)
@EventListener public void handlePluginFrameworkStarted(PluginFrameworkStartedEvent e)
e
- PluginFrameworkStartedEvent indicates that the pluginframework is up and we should update our cache.Copyright © 2003–2017 Atlassian. All rights reserved.