public static enum MaintenanceModeTask.DisconnectMode extends Enum<MaintenanceModeTask.DisconnectMode>
Enum Constant and Description |
---|
DISCONNECT_SESSIONS
Once the stage
MaintenanceModeTask.MaintenanceStage.MAINTENANCE_MODE_ACTIVE begins,existing sessions will be disconnected. |
KEEP_SESSIONS_ALIVE
Existing sessions will not be disconnected.
|
Modifier and Type | Method and Description |
---|---|
static MaintenanceModeTask.DisconnectMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaintenanceModeTask.DisconnectMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaintenanceModeTask.DisconnectMode KEEP_SESSIONS_ALIVE
public static final MaintenanceModeTask.DisconnectMode DISCONNECT_SESSIONS
MaintenanceModeTask.MaintenanceStage.MAINTENANCE_MODE_ACTIVE
begins,existing sessions will be disconnected.public static MaintenanceModeTask.DisconnectMode[] values()
for (MaintenanceModeTask.DisconnectMode c : MaintenanceModeTask.DisconnectMode.values()) System.out.println(c);
public static MaintenanceModeTask.DisconnectMode 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