public static enum FaultCodeCommon.Bus extends Enum<FaultCodeCommon.Bus>
| Enum Constant and Description |
|---|
CAN0
The primary CAN bus of the WVA.
|
CAN1
The secondary CAN bus of the WVA.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Return the enum value's name, but lowercased.
|
static FaultCodeCommon.Bus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FaultCodeCommon.Bus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaultCodeCommon.Bus CAN0
public static final FaultCodeCommon.Bus CAN1
public static FaultCodeCommon.Bus[] values()
for (FaultCodeCommon.Bus c : FaultCodeCommon.Bus.values()) System.out.println(c);
public static FaultCodeCommon.Bus 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 String toString()
toString in class Enum<FaultCodeCommon.Bus>