Enum Class MaintenanceModeTask.MaintenanceScope
java.lang.Object
java.lang.Enum<MaintenanceModeTask.MaintenanceScope>
de.espirit.firstspirit.access.schedule.MaintenanceModeTask.MaintenanceScope
- All Implemented Interfaces:
Serializable
,Comparable<MaintenanceModeTask.MaintenanceScope>
,Constable
- Enclosing interface:
- MaintenanceModeTask
public static enum MaintenanceModeTask.MaintenanceScope
extends Enum<MaintenanceModeTask.MaintenanceScope>
The maintenance mode may only affect certain projects or the whole FirstSpirit server.
- 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 ConstantDescriptionA global maintenance affects all projects on the server.A project-local maintenance affects only certain projects. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MaintenanceModeTask.MaintenanceScope[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GLOBAL
A global maintenance affects all projects on the server. This is the default.- Since:
- 5.2.516
-
PROJECT_LOCAL
A project-local maintenance affects only certain projects.- Since:
- 5.2.516
- See Also:
-
-
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
-