public static enum MotorModuleEvent.Type extends java.lang.Enum<MotorModuleEvent.Type>
Enum Constant and Description |
---|
ABORTED |
ADDED |
COMPLETED |
PREPARED |
REJECTED |
REMOVED |
RESET |
STARTED |
Modifier and Type | Method and Description |
---|---|
static MotorModuleEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MotorModuleEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MotorModuleEvent.Type PREPARED
public static final MotorModuleEvent.Type STARTED
public static final MotorModuleEvent.Type COMPLETED
public static final MotorModuleEvent.Type ABORTED
public static final MotorModuleEvent.Type RESET
public static final MotorModuleEvent.Type REJECTED
public static final MotorModuleEvent.Type ADDED
public static final MotorModuleEvent.Type REMOVED
public static MotorModuleEvent.Type[] values()
for (MotorModuleEvent.Type c : MotorModuleEvent.Type.values()) System.out.println(c);
public static MotorModuleEvent.Type 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