public enum ApplicationState extends Enum<ApplicationState>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullCopyright © 2019 Atlassian. All rights reserved.