@ParametersAreNonnullByDefault public enum ComponentManagerStateImpl extends Enum<ComponentManagerStateImpl> implements ComponentManager.State
ComponentManager.State interface| Enum Constant and Description |
|---|
COMPONENTS_INSTANTIATED
All components have been instantiated.
|
COMPONENTS_REGISTERED
All components registered with PICO including plugin components and plugin system has started.
|
CONTAINER_INITIALISED
Not registered, plugins not started, but container is initialised
|
NOT_STARTED
Not registered, plugins haven't started
|
PLUGIN_SYSTEM_STARTED
Not registered, plugins haven't started
|
STARTED
All components registered with PICO including plugin components and plugin system has started.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
isComponentsInstantiated()
Have the components been instantiated by the full container.
|
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 |
boolean |
isValidNewState(ComponentManagerStateImpl newState)
Indicates whether the given state is a valid next state from this state.
|
static ComponentManagerStateImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentManagerStateImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentManagerStateImpl NOT_STARTED
public static final ComponentManagerStateImpl CONTAINER_INITIALISED
public static final ComponentManagerStateImpl PLUGIN_SYSTEM_STARTED
public static final ComponentManagerStateImpl COMPONENTS_REGISTERED
public static final ComponentManagerStateImpl COMPONENTS_INSTANTIATED
public static final ComponentManagerStateImpl STARTED
public static ComponentManagerStateImpl[] values()
for (ComponentManagerStateImpl c : ComponentManagerStateImpl.values()) System.out.println(c);
public static ComponentManagerStateImpl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isComponentsInstantiated()
ComponentManager.StateisComponentsInstantiated in interface ComponentManager.Statepublic boolean isComponentsRegistered()
ComponentManager.StateisComponentsRegistered in interface ComponentManager.Statepublic boolean isPluginSystemStarted()
ComponentManager.StateisPluginSystemStarted in interface ComponentManager.Statepublic boolean isStarted()
ComponentManager.StateComponentManager startedisStarted in interface ComponentManager.Statepublic boolean isContainerInitialised()
ComponentManager.StateisContainerInitialised in interface ComponentManager.Statepublic String getMessageKey()
ComponentManager.StateJiraStartupPageSupport.properties.
They cannot come from any other source.getMessageKey in interface ComponentManager.Statepublic int getPercentage()
ComponentManager.StategetPercentage in interface ComponentManager.Statepublic boolean isValidNewState(ComponentManagerStateImpl newState)
newState - the new state to validateCopyright © 2002-2019 Atlassian. All Rights Reserved.