public class

JiraStartupPluginSystemListener

extends Object
implements JiraPluginSystemListener
java.lang.Object
   ↳ com.atlassian.jira.startup.JiraStartupPluginSystemListener

Class Overview

Event listener for internal JIRA events that the JiraStartupChecklist cares about.

Summary

Public Constructors
JiraStartupPluginSystemListener(EventPublisher eventPublisher)
Creates a new JiraStartupPluginSystemListener.
Public Methods
static void addPlugins(int expectedCount)
static int getProgress(int budget)
@EventListener void onPluginContainerRefreshed(PluginContainerRefreshedEvent event)
@EventListener void onPluginEnabled(PluginEnabledEvent event)
@EventListener void onPluginEnabling(PluginEnablingEvent event)
@EventListener void onPluginSystemDelayed(PluginFrameworkDelayedEvent event)
@EventListener void onPluginSystemRestarted(PluginFrameworkWarmRestartedEvent event)
Dispatches the "Plugin System Warn Restarting" event to the current JIRA startup state.
@EventListener void onPluginSystemShutdown(PluginFrameworkShutdownEvent event)
Dispatches the "Plugin System Shutdown" event to the current JIRA startup state.
@EventListener void onPluginSystemStarted(PluginFrameworkStartedEvent event)
Dispatches the "Plugin System Loaded" event to the current JIRA startup state.
@EventListener void onPluginSystemStarting(PluginFrameworkStartingEvent event)
Creates a new tracker to monitor the progress of the plugin framework startup.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public JiraStartupPluginSystemListener (EventPublisher eventPublisher)

Creates a new JiraStartupPluginSystemListener.

Parameters
eventPublisher an EventPublisher

Public Methods

public static void addPlugins (int expectedCount)

public static int getProgress (int budget)

@EventListener public void onPluginContainerRefreshed (PluginContainerRefreshedEvent event)

@EventListener public void onPluginEnabled (PluginEnabledEvent event)

@EventListener public void onPluginEnabling (PluginEnablingEvent event)

@EventListener public void onPluginSystemDelayed (PluginFrameworkDelayedEvent event)

@EventListener public void onPluginSystemRestarted (PluginFrameworkWarmRestartedEvent event)

Dispatches the "Plugin System Warn Restarting" event to the current JIRA startup state.

Parameters
event a PluginFrameworkWarmRestartedEvent

@EventListener public void onPluginSystemShutdown (PluginFrameworkShutdownEvent event)

Dispatches the "Plugin System Shutdown" event to the current JIRA startup state.

Parameters
event a PluginFrameworkShutdownEvent

@EventListener public void onPluginSystemStarted (PluginFrameworkStartedEvent event)

Dispatches the "Plugin System Loaded" event to the current JIRA startup state.

Parameters
event a PluginFrameworkStartedEvent

@EventListener public void onPluginSystemStarting (PluginFrameworkStartingEvent event)

Creates a new tracker to monitor the progress of the plugin framework startup.

Parameters
event ignored