public static enum ProjectCleanupTask.Mode extends Enum<ProjectCleanupTask.Mode>
Enum Constant and Description |
---|
FULL_CLEANUP
Do not keep any outdated version.
|
NO_CLEANUP
Keep the whole version history.
|
PARTIAL_CLEANUP
Keep at least
the configured number of days of version history. |
Modifier and Type | Method and Description |
---|---|
static ProjectCleanupTask.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectCleanupTask.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectCleanupTask.Mode NO_CLEANUP
public static final ProjectCleanupTask.Mode PARTIAL_CLEANUP
the configured number of days
of version history.ProjectCleanupTask.getCleanupAge()
,
ProjectCleanupTask.setCleanupAge(int)
public static final ProjectCleanupTask.Mode FULL_CLEANUP
public static ProjectCleanupTask.Mode[] values()
for (ProjectCleanupTask.Mode c : ProjectCleanupTask.Mode.values()) System.out.println(c);
public static ProjectCleanupTask.Mode 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