public static interface

ComponentManager.State

com.atlassian.jira.ComponentManager.State

Class Overview

The state of the ComponentManager.

Summary

Public Methods
String getMessageKey()
Gets a translation key for getting a brief explanation of what the state means.
int getPercentage()
Returns the percentage of the way through the startup process this state can be considered to be.
boolean isComponentsRegistered()
Have the components registered been with PICO including plugin components.
boolean isContainerInitialised()
Has the PICO container initialised.
boolean isPluginSystemStarted()
Have the components registered been with PICO including plugin components.
boolean isStarted()
Has the ComponentManager started

Public Methods

public String getMessageKey ()

Gets a translation key for getting a brief explanation of what the state means. Note that these translations *must* live in JiraStartupPageSupport.properties. They cannot come from any other source.

Returns
  • a message key for resolving a brief description of this state

public int getPercentage ()

Returns the percentage of the way through the startup process this state can be considered to be.

Returns
  • the startup progress percentage

public boolean isComponentsRegistered ()

Have the components registered been with PICO including plugin components.

Returns
  • true if components have been registered.

public boolean isContainerInitialised ()

Has the PICO container initialised.

Returns
  • true if the PICO container is set up

public boolean isPluginSystemStarted ()

Have the components registered been with PICO including plugin components.

Returns
  • true if the plugin system has started.

public boolean isStarted ()

Has the ComponentManager started

Returns
  • true if the component manager has started.