public static enum MaintenanceModeTask.MaintenanceScope extends Enum<MaintenanceModeTask.MaintenanceScope>
Enum Constant and Description |
---|
GLOBAL
A global maintenance affects all projects on the server.
|
PROJECT_LOCAL
A project-local maintenance affects only certain projects.
|
Modifier and Type | Method and Description |
---|---|
static MaintenanceModeTask.MaintenanceScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaintenanceModeTask.MaintenanceScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaintenanceModeTask.MaintenanceScope GLOBAL
public static final MaintenanceModeTask.MaintenanceScope PROJECT_LOCAL
MaintenanceModeTask.setMaintenanceProjects(Collection)
public static MaintenanceModeTask.MaintenanceScope[] values()
for (MaintenanceModeTask.MaintenanceScope c : MaintenanceModeTask.MaintenanceScope.values()) System.out.println(c);
public static MaintenanceModeTask.MaintenanceScope 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