Package com.atlassian.jira.instance
Enum Class InstanceState
- All Implemented Interfaces:
Serializable,Comparable<InstanceState>,Constable
The states of a JIRA instance.
- Since:
- 7.4
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJIRA is being installed.JIRA was shut down and is being started up again.JIRA is running.JIRA is currently in a state that can not be determined.JIRA is about to be upgraded to a new version, i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic InstanceStateReturns the enum constant of this class with the specified name.static InstanceState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTALLING
JIRA is being installed. -
UPGRADE_REQUIRED
JIRA is about to be upgraded to a new version, i.e. the application build number is ahead of the database build number. -
RESTARTING
JIRA was shut down and is being started up again. No installation or upgrade can be detected. -
UNKNOWN
JIRA is currently in a state that can not be determined. This may be due to errors which prevents us from determining the state, or because needed components are not available yet. -
RUNNING
JIRA is running. Any of the other states can transition into this one.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-