public enum KeepLogsDelay extends java.lang.Enum<KeepLogsDelay>
| Enum Constant and Description |
|---|
ONE_MONTH |
SIX_MONTHS |
THREE_MONTHS |
TWO_WEEKS |
| Modifier and Type | Method and Description |
|---|---|
static KeepLogsDelay |
findByName(java.lang.String name) |
static KeepLogsDelay |
getByName(java.lang.String type) |
long |
getDays() |
java.lang.String |
getValue() |
static boolean |
isPresent(java.lang.String name) |
static KeepLogsDelay |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeepLogsDelay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeepLogsDelay TWO_WEEKS
public static final KeepLogsDelay ONE_MONTH
public static final KeepLogsDelay THREE_MONTHS
public static final KeepLogsDelay SIX_MONTHS
public static KeepLogsDelay[] values()
for (KeepLogsDelay c : KeepLogsDelay.values()) System.out.println(c);
public static KeepLogsDelay 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 java.lang.String getValue()
public long getDays()
public static KeepLogsDelay getByName(java.lang.String type)
public static KeepLogsDelay findByName(java.lang.String name)
public static boolean isPresent(java.lang.String name)