public enum DriveEventType extends java.lang.Enum<DriveEventType>
Enum Constant and Description |
---|
FINISHED_JOB |
INITIALIZE |
WORKER_MESSAGE |
WORKERS_JOINED |
Modifier and Type | Method and Description |
---|---|
static DriveEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DriveEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DriveEventType INITIALIZE
public static final DriveEventType FINISHED_JOB
public static final DriveEventType WORKER_MESSAGE
public static final DriveEventType WORKERS_JOINED
public static DriveEventType[] values()
for (DriveEventType c : DriveEventType.values()) System.out.println(c);
public static DriveEventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null