public static enum Job.TYPE extends Enum<Job.TYPE>
| Enum Constant and Description |
|---|
CRON
cron job
|
FIXED_DELAY
fixed delay job
|
FIXED_RATE
fixed rate job
|
ON_APPLICATION_START
when application start
|
| Modifier and Type | Method and Description |
|---|---|
static Job.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Job.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.TYPE FIXED_DELAY
public static final Job.TYPE FIXED_RATE
public static final Job.TYPE CRON
public static final Job.TYPE ON_APPLICATION_START
public static Job.TYPE[] values()
for (Job.TYPE c : Job.TYPE.values()) System.out.println(c);
public static Job.TYPE 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 © 2020. All rights reserved.