|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CronExpressionQuantizer.Randomize>
com.atlassian.scheduler.core.util.CronExpressionQuantizer.Randomize
public static enum CronExpressionQuantizer.Randomize
Controls whether or not randomization is performed when a cron expression is quantized.
| Enum Constant Summary | |
|---|---|
ALWAYS
Replace the seconds fields with a randomized value in all cases. |
|
AS_NEEDED
Randomize the seconds field if quantization is needed; otherwise, leave it alone. |
|
NEVER
Never randomize the seconds field. |
|
| Method Summary | |
|---|---|
static CronExpressionQuantizer.Randomize |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CronExpressionQuantizer.Randomize[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CronExpressionQuantizer.Randomize NEVER
0 to 59), then force it to 0.
public static final CronExpressionQuantizer.Randomize AS_NEEDED
0 to 59), then force it
to a randomized value; otherwise, leave it alone.
public static final CronExpressionQuantizer.Randomize ALWAYS
| Method Detail |
|---|
public static CronExpressionQuantizer.Randomize[] values()
for (CronExpressionQuantizer.Randomize c : CronExpressionQuantizer.Randomize.values()) System.out.println(c);
public static CronExpressionQuantizer.Randomize valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||