Package com.atlassian.confluence.server
Enum Class ApplicationState
- All Implemented Interfaces:
Serializable
,Comparable<ApplicationState>
,Constable
The current state of the server.
Possible state transitions are:
- STARTING -> (FIRST_RUN | RUNNING | ERROR | STOPPING)
- FIRST_RUN -> (RUNNING | ERROR | STOPPING)
- RUNNING -> (ERROR | STOPPING)
- ERROR -> (RUNNING | STOPPING)
- STOPPING ->
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe application is currently not available because of an errorThe application is running for the first time and has not yet been configured.The application has been setup and is running normallyThe application is starting up, but not yet availableThe application is shutting down -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationState
Returns the enum constant of this class with the specified name.static ApplicationState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTING
The application is starting up, but not yet available -
FIRST_RUN
The application is running for the first time and has not yet been configured. -
RUNNING
The application has been setup and is running normally -
ERROR
The application is currently not available because of an error -
STOPPING
The application is shutting down
-
-
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
-