public enum CarModeStatus extends Enum<CarModeStatus>
| Enum Constant and Description |
|---|
CRASH
Provides car mode CRASH to each module.
|
FACTORY
Provides car mode FACTORY to each module.
|
NORMAL
Provides car mode NORMAL to each module.
|
TRANSPORT
Provides car mode TRANSPORT to each module.
|
| Modifier and Type | Method and Description |
|---|---|
static CarModeStatus |
valueForString(String value)
Convert String to CarModeStatus
|
static CarModeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CarModeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CarModeStatus NORMAL
public static final CarModeStatus FACTORY
public static final CarModeStatus TRANSPORT
public static final CarModeStatus CRASH
public static CarModeStatus[] values()
for (CarModeStatus c : CarModeStatus.values()) System.out.println(c);
public static CarModeStatus 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 nullpublic static CarModeStatus valueForString(String value)
value - String