Enum Class ProjectCleanupTask.Mode
java.lang.Object
java.lang.Enum<ProjectCleanupTask.Mode>
de.espirit.firstspirit.access.schedule.ProjectCleanupTask.Mode
- All Implemented Interfaces:
Serializable
,Comparable<ProjectCleanupTask.Mode>
,Constable
- Enclosing interface:
- ProjectCleanupTask
Version history archiving mode.
- Since:
- 5.2.903
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDo not keep any outdated version.Keep the whole version history.Keep at leastthe configured number of days
of version history. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectCleanupTask.Mode
Returns the enum constant of this class with the specified name.static ProjectCleanupTask.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_CLEANUP
Keep the whole version history.- Since:
- 5.2.903
-
PARTIAL_CLEANUP
Keep at leastthe configured number of days
of version history.- Since:
- 5.2.903
- See Also:
-
FULL_CLEANUP
Do not keep any outdated version.- Since:
- 5.2.903
-
-
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
-