Package org.ametys.runtime.servlet
Enum Class RuntimeServlet.RunMode
- All Implemented Interfaces:
Serializable
,Comparable<RuntimeServlet.RunMode>
,java.lang.constant.Constable
- Enclosing class:
- RuntimeServlet
The run modes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFatal error during startupRunning init methodsMaintenance mode (See #getMaintenanceStatus)Application is currently migratingNormal execution modeSafe mode (See PluginsManager#getStatus)Application is currently startingApplication is currently stopping -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeServlet.RunMode
Returns the enum constant of this class with the specified name.static RuntimeServlet.RunMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTING
Application is currently starting -
MIGRATING
Application is currently migrating -
INITIALIZING
Running init methods -
NORMAL
Normal execution mode -
MAINTENANCE
Maintenance mode (See #getMaintenanceStatus) -
SAFEMODE
Safe mode (See PluginsManager#getStatus) -
FATALERROR
Fatal error during startup -
STOPPING
Application is currently stopping
-
-
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
-