|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ApplicationState> com.atlassian.jira.util.system.status.ApplicationState
public enum ApplicationState
Enum Constant Summary | |
---|---|
ERROR
The application is currently not available because of an error |
|
FIRST_RUN
The application is running for the first time and has not yet been configured. |
|
MAINTENANCE
The application is currently not available because the application is under maintenance |
|
RUNNING
The application has been setup and is running normally |
|
STARTING
The application is starting up, but not yet available |
|
STOPPING
The application is shutting down |
Method Summary | |
---|---|
static ApplicationState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApplicationState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ApplicationState STARTING
public static final ApplicationState FIRST_RUN
public static final ApplicationState RUNNING
public static final ApplicationState MAINTENANCE
public static final ApplicationState ERROR
public static final ApplicationState STOPPING
Method Detail |
---|
public static ApplicationState[] values()
for (ApplicationState c : ApplicationState.values()) System.out.println(c);
public static ApplicationState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |