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