public enum ApplicationState extends Enum<ApplicationState>
Enum Constant and Description |
---|
ERROR
The Crowd application has encountered an error and is not currently accessible
|
FIRST_RUN
The Crowd application has not yet been setup
|
RUNNING
The Crowd application is up and running
|
STARTING
The Crowd application is currently starting
|
STOPPING
The Crowd application is currently 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 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 © 2021 Atlassian. All rights reserved.