public static enum MaintenanceModeTask.MaintenanceStage extends Enum<MaintenanceModeTask.MaintenanceStage>
Enum Constant and Description |
---|
DISPLAY_MESSAGE
Display an informational message containing the starting time and duration of the maintenance mode.
|
DISPLAY_SESSION_WARNING
Display a warning encouraging users to quit their sessions.
|
MAINTENANCE_MODE_ACTIVE
The maintenance mode is active.
|
PREPARATION
The planned maintenance mode will be listed in the server monitoring, but at this time, users will not be notified.
|
REJECT_NEW_SESSIONS
It is not possible to connect to the server or the selected projects anymore.
|
Modifier and Type | Method and Description |
---|---|
static MaintenanceModeTask.MaintenanceStage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaintenanceModeTask.MaintenanceStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaintenanceModeTask.MaintenanceStage PREPARATION
The default duration is 30 minutes.
public static final MaintenanceModeTask.MaintenanceStage DISPLAY_MESSAGE
The default duration is 15 minutes.
MaintenanceModeTask.setMessageDisplayType(MessageDisplayType)
public static final MaintenanceModeTask.MaintenanceStage DISPLAY_SESSION_WARNING
The default duration is 5 minutes.
public static final MaintenanceModeTask.MaintenanceStage REJECT_NEW_SESSIONS
The default duration is 5 minutes.
public static final MaintenanceModeTask.MaintenanceStage MAINTENANCE_MODE_ACTIVE
MaintenanceModeTask.getDisconnectMode()
is MaintenanceModeTask.DisconnectMode.DISCONNECT_SESSIONS
. The duration must not be 0. The default duration is 15 minutes.
MaintenanceModeTask.setDisconnectMode(DisconnectMode)
public static MaintenanceModeTask.MaintenanceStage[] values()
for (MaintenanceModeTask.MaintenanceStage c : MaintenanceModeTask.MaintenanceStage.values()) System.out.println(c);
public static MaintenanceModeTask.MaintenanceStage 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 e-Spirit AG. All Rights Reserved. Build 5.2.210210