public enum LifecyclePhase extends Enum<LifecyclePhase>
Enum Constant and Description |
---|
DATABASE_CONFIGURED
JIRA has a DB configuration available, but has not connected to the DB
|
PLUGINS_STARTUP_FINISHED
JIRA has attempted to start all plugins that are to be started on startup,
and given the plugins a decent amount of time to start up.
|
POST_CONSISTENCY_CHECKS
The consistency checks have been run, i.e.
|
POST_DATABASE_ACTIVATED
JIRA can connect to the database.
|
PRE_DATABASE_LAUNCH
JIRA has not yet loaded its database configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLast()
Indicates whether this phase is the last in the sequence.
|
static LifecyclePhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecyclePhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecyclePhase PRE_DATABASE_LAUNCH
public static final LifecyclePhase DATABASE_CONFIGURED
public static final LifecyclePhase POST_DATABASE_ACTIVATED
public static final LifecyclePhase PLUGINS_STARTUP_FINISHED
public static final LifecyclePhase POST_CONSISTENCY_CHECKS
public static LifecyclePhase[] values()
for (LifecyclePhase c : LifecyclePhase.values()) System.out.println(c);
public static LifecyclePhase 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 isLast()
true
.Copyright © 2002-2019 Atlassian. All Rights Reserved.