public static enum VehicleState.OP_MODE extends java.lang.Enum<VehicleState.OP_MODE>
Enum Constant and Description |
---|
BOOT |
CALIBRATION |
ERROR |
EXTERNAL |
MANEUVER |
SERVICE |
Modifier and Type | Method and Description |
---|---|
long |
value() |
static VehicleState.OP_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VehicleState.OP_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleState.OP_MODE SERVICE
public static final VehicleState.OP_MODE CALIBRATION
public static final VehicleState.OP_MODE ERROR
public static final VehicleState.OP_MODE MANEUVER
public static final VehicleState.OP_MODE EXTERNAL
public static final VehicleState.OP_MODE BOOT
public static VehicleState.OP_MODE[] values()
for (VehicleState.OP_MODE c : VehicleState.OP_MODE.values()) System.out.println(c);
public static VehicleState.OP_MODE 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 nullpublic long value()