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