public static enum DailyJob.DailyJobResult extends Enum<DailyJob.DailyJobResult>
Enum Constant and Description |
---|
CANCEL
Indicates that the job is finished and should NOT run again.
|
SUCCESS
Indicates that the job was successful and should run again the next day.
|
Modifier and Type | Method and Description |
---|---|
static DailyJob.DailyJobResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DailyJob.DailyJobResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DailyJob.DailyJobResult SUCCESS
public static final DailyJob.DailyJobResult CANCEL
public static DailyJob.DailyJobResult[] values()
for (DailyJob.DailyJobResult c : DailyJob.DailyJobResult.values()) System.out.println(c);
public static DailyJob.DailyJobResult 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 null