Package de.espirit.firstspirit.server
Enum Class RunLevel
- All Implemented Interfaces:
Serializable
,Comparable<RunLevel>
,Constable
FirstSpirit server run level with increasing level. A higher level means more functionality is available. A higher
level includes all available functionality of the lower levels.
- Since:
- 5.2.181205
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll server managers are started and core server functionality is available.All core FirstSpirit WebApps are started.Server startup or shutdown is in progress.The FirstSpirit root WebApp is started and HTTP connection mode is available.Server is shut down and not running.Server is started, all downstream tasks are done and all global and project WebApps are started. -
Method Summary
Modifier and TypeMethodDescriptionint
level()
Get the integer level value of the currentRunLevel
.toString()
Returns a three digit string representation of the integer level.static RunLevel
Returns the enum constant of this class with the specified name.static RunLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHUTDOWN
Server is shut down and not running.- Since:
- 5.2.181205
-
IN_PROGRESS
Server startup or shutdown is in progress.- Since:
- 5.2.181205
-
CORE_STARTED
All server managers are started and core server functionality is available. Socket connection mode is available.- Since:
- 5.2.181205
-
ROOT_WEBAPP_STARTED
The FirstSpirit root WebApp is started and HTTP connection mode is available.- Since:
- 5.2.181205
-
CORE_WEBAPPS_STARTED
All core FirstSpirit WebApps are started.- Since:
- 5.2.181205
-
STARTED
Server is started, all downstream tasks are done and all global and project WebApps are started.- Since:
- 5.2.181205
-
-
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
-
level
public int level()Get the integer level value of the currentRunLevel
.- Since:
- 5.2.181205
-
toString
Returns a three digit string representation of the integer level.
-