public enum CleanupLevel extends java.lang.Enum<CleanupLevel>
| Enum Constant and Description |
|---|
ARTIFACTS |
EVERYTHING |
HISTORY_ENTRY |
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<CleanupLevel> |
SORTED_LEVELS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns cleanup short string representation to show in UI.
|
java.lang.String |
getKeepDescription()
Returns keep string representation to show in UI.
|
boolean |
isCleanArtifacts()
Deprecated.
|
boolean |
isCleanHistoryEntry()
Returns true if build history should be cleaned.
|
boolean |
isCleanStatistics()
Returns true if statistics data should be cleaned.
|
static CleanupLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CleanupLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CleanupLevel EVERYTHING
public static final CleanupLevel HISTORY_ENTRY
public static final CleanupLevel ARTIFACTS
public static final java.util.List<CleanupLevel> SORTED_LEVELS
public static CleanupLevel[] values()
for (CleanupLevel c : CleanupLevel.values()) System.out.println(c);
public static CleanupLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isCleanStatistics()
public boolean isCleanHistoryEntry()
@Deprecated public boolean isCleanArtifacts()
@NotNull public java.lang.String getDescription()
@NotNull public java.lang.String getKeepDescription()