public enum DiagnosticType extends Enum<DiagnosticType> implements HasName
| Enum Constant and Description |
|---|
AI_MODEL |
BRP_FAULT |
DATA_DIAGNOSTIC |
GMCCC_FAULT |
GO_DIAGNOSTIC |
GO_FAULT |
LEGACY_FAULT |
LEVC_FAULT |
NONE |
OBD_FAULT |
OBD_WWH_FAULT |
PID |
PROPRIETARY_FAULT |
SID |
SUSPECT_PARAMETER |
| Modifier and Type | Method and Description |
|---|---|
static DiagnosticType |
findOrDefault(String name) |
String |
getName() |
static DiagnosticType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiagnosticType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiagnosticType NONE
public static final DiagnosticType SID
public static final DiagnosticType PID
public static final DiagnosticType GO_DIAGNOSTIC
public static final DiagnosticType DATA_DIAGNOSTIC
public static final DiagnosticType SUSPECT_PARAMETER
public static final DiagnosticType OBD_FAULT
public static final DiagnosticType GO_FAULT
public static final DiagnosticType OBD_WWH_FAULT
public static final DiagnosticType PROPRIETARY_FAULT
public static final DiagnosticType LEGACY_FAULT
public static final DiagnosticType GMCCC_FAULT
public static final DiagnosticType BRP_FAULT
public static final DiagnosticType AI_MODEL
public static final DiagnosticType LEVC_FAULT
public static DiagnosticType[] values()
for (DiagnosticType c : DiagnosticType.values()) System.out.println(c);
public static DiagnosticType 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 DiagnosticType findOrDefault(String name)
Copyright © 2023. All rights reserved.