public enum DtcSeverity extends Enum<DtcSeverity> implements HasName
| Enum Constant and Description |
|---|
CHECK_AT_NEXT_HALT
This value indicates the failure that a check of the vehicle is required at next halt.
|
CHECK_IMMEDIATELY
This value indicates the failure that an immediate check of the vehicle is required.
|
MAINTENANCE_ONLY
This value indicates that the failure requests maintenance only.
|
UNKNOWN
Fallback when enumeration value is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getName() |
static DtcSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DtcSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DtcSeverity UNKNOWN
public static final DtcSeverity MAINTENANCE_ONLY
public static final DtcSeverity CHECK_AT_NEXT_HALT
public static final DtcSeverity CHECK_IMMEDIATELY
public static DtcSeverity[] values()
for (DtcSeverity c : DtcSeverity.values()) System.out.println(c);
public static DtcSeverity 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 int getCode()
Copyright © 2023. All rights reserved.