public enum StartupMode extends Enum<StartupMode>
InstanceState
,
which can change as the instance comes up and is set up or upgraded, this
never changes over the lifetime of the instance.Enum Constant and Description |
---|
INSTALLING
JIRA was started in installation (setup) mode.
|
NORMAL
JIRA is simply being restarted.
|
UNKNOWN
JIRA has been started, but it is not possible to know what mode it was started in
(for example it has not yet connected to the database)
|
UPGRADING
JIRA was started in upgrade mode, i.e.
|
Modifier and Type | Method and Description |
---|---|
static StartupMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StartupMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartupMode INSTALLING
public static final StartupMode NORMAL
public static final StartupMode UPGRADING
public static final StartupMode UNKNOWN
public static StartupMode[] values()
for (StartupMode c : StartupMode.values()) System.out.println(c);
public static StartupMode 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 nullCopyright © 2002-2022 Atlassian. All Rights Reserved.