public static enum CronExpressionQuantizer.Randomize extends Enum<CronExpressionQuantizer.Randomize>
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 nameNullPointerException - if the argument is nullCopyright © 2017 Atlassian. All rights reserved.