public class JiraStartupPluginSystemListener extends Object implements JiraPluginSystemListener
JiraStartupChecklist
,
JiraStartupState
Constructor and Description |
---|
JiraStartupPluginSystemListener(com.atlassian.event.api.EventPublisher eventPublisher)
Creates a new JiraStartupPluginSystemListener.
|
Modifier and Type | Method and Description |
---|---|
static void |
addPlugins(int expectedCount) |
static int |
getProgress(int budget) |
void |
onPluginContainerRefreshed(com.atlassian.plugin.event.events.PluginContainerRefreshedEvent event) |
void |
onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) |
void |
onPluginEnabling(com.atlassian.plugin.event.events.PluginEnablingEvent event) |
void |
onPluginSystemDelayed(com.atlassian.plugin.event.events.PluginFrameworkDelayedEvent event) |
void |
onPluginSystemRestarted(com.atlassian.plugin.event.events.PluginFrameworkWarmRestartedEvent event)
Dispatches the "Plugin System Warn Restarting" event to the current JIRA startup state.
|
void |
onPluginSystemShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
Dispatches the "Plugin System Shutdown" event to the current JIRA startup state.
|
void |
onPluginSystemStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
Dispatches the "Plugin System Loaded" event to the current JIRA startup state.
|
void |
onPluginSystemStarting(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent event)
Creates a new tracker to monitor the progress of the plugin framework startup.
|
public JiraStartupPluginSystemListener(com.atlassian.event.api.EventPublisher eventPublisher)
eventPublisher
- an EventPublisher@EventListener public void onPluginSystemStarting(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent event)
event
- ignored@EventListener public void onPluginSystemStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
event
- a PluginFrameworkStartedEvent@EventListener public void onPluginSystemShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
event
- a PluginFrameworkShutdownEvent@EventListener public void onPluginSystemRestarted(com.atlassian.plugin.event.events.PluginFrameworkWarmRestartedEvent event)
event
- a PluginFrameworkWarmRestartedEvent@EventListener public void onPluginSystemDelayed(com.atlassian.plugin.event.events.PluginFrameworkDelayedEvent event)
@EventListener public void onPluginEnabling(com.atlassian.plugin.event.events.PluginEnablingEvent event)
@EventListener public void onPluginContainerRefreshed(com.atlassian.plugin.event.events.PluginContainerRefreshedEvent event)
@EventListener public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
public static void addPlugins(int expectedCount)
public static int getProgress(int budget)
Copyright © 2002-2017 Atlassian. All Rights Reserved.