Enum Class MaintenanceModeTask.DisconnectMode
java.lang.Object
java.lang.Enum<MaintenanceModeTask.DisconnectMode>
de.espirit.firstspirit.access.schedule.MaintenanceModeTask.DisconnectMode
- All Implemented Interfaces:
Serializable
,Comparable<MaintenanceModeTask.DisconnectMode>
,Constable
- Enclosing interface:
- MaintenanceModeTask
public static enum MaintenanceModeTask.DisconnectMode
extends Enum<MaintenanceModeTask.DisconnectMode>
When the maintenance mode starts, existing sessions may be quit or kept alive.
- Since:
- 5.2.516
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOnce the stageMaintenanceModeTask.MaintenanceStage.MAINTENANCE_MODE_ACTIVE
begins,existing sessions will be disconnected.Existing sessions will not be disconnected. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MaintenanceModeTask.DisconnectMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KEEP_SESSIONS_ALIVE
Existing sessions will not be disconnected. This is the default.- Since:
- 5.2.516
-
DISCONNECT_SESSIONS
Once the stageMaintenanceModeTask.MaintenanceStage.MAINTENANCE_MODE_ACTIVE
begins,existing sessions will be disconnected.- Since:
- 5.2.516
-
-
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
-