public static enum AnalystWorker.WorkType extends Enum<AnalystWorker.WorkType>
Enum Constant and Description |
---|
BATCH |
HIGH_PRIORITY |
Modifier and Type | Method and Description |
---|---|
static AnalystWorker.WorkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnalystWorker.WorkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnalystWorker.WorkType HIGH_PRIORITY
public static final AnalystWorker.WorkType BATCH
public static AnalystWorker.WorkType[] values()
for (AnalystWorker.WorkType c : AnalystWorker.WorkType.values()) System.out.println(c);
public static AnalystWorker.WorkType 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 © 2018. All rights reserved.