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