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