public enum DutyStatusMalfunctionTypes extends Enum<DutyStatusMalfunctionTypes> implements HasName
| Enum Constant and Description |
|---|
DIAGNOSTIC
In a diagnostic state.
|
DIAGNOSTIC_MANUAL_POSITION
Combination of ManualPosition and Diagnostic.
|
MALFUNCTION
In a malfunction state.
|
MALFUNCTION_MANUAL_POSITION
Combination of ManualPosition and Malfunction.
|
MANUAL_POSITION
User has inputted a manual address for the log during a position compliance diagnostic event.
|
NONE
No malfunction or diagnostic present or cleared.
|
SYSTEM_CLEAR
System has determined that the malfunction or diagnostic is cleared.
|
SYSTEM_CLEAR_DRIVING
System has determined that the malfunction or diagnostic is cleared and the vehicle was in motion.
|
SYSTEM_DIAGNOSTIC_CLEAR
System has determined that the diagnostic is cleared.
|
SYSTEM_DIAGNOSTIC_CLEAR_DRIVING
System has determined that the diagnostic is cleared and the vehicle was in motion.
|
USER_CLEAR
User has cleared the malfunction or diagnostic.
|
USER_DIAGNOSTIC_CLEAR
User has cleared the diagnostic.
|
USER_MALFUNCTION_CLEAR
User has cleared the malfunction.
|
| Modifier and Type | Method and Description |
|---|---|
static DutyStatusMalfunctionTypes |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static DutyStatusMalfunctionTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DutyStatusMalfunctionTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DutyStatusMalfunctionTypes NONE
public static final DutyStatusMalfunctionTypes DIAGNOSTIC
public static final DutyStatusMalfunctionTypes MALFUNCTION
public static final DutyStatusMalfunctionTypes USER_CLEAR
public static final DutyStatusMalfunctionTypes USER_DIAGNOSTIC_CLEAR
public static final DutyStatusMalfunctionTypes USER_MALFUNCTION_CLEAR
public static final DutyStatusMalfunctionTypes SYSTEM_CLEAR
public static final DutyStatusMalfunctionTypes SYSTEM_DIAGNOSTIC_CLEAR
public static final DutyStatusMalfunctionTypes SYSTEM_CLEAR_DRIVING
public static final DutyStatusMalfunctionTypes SYSTEM_DIAGNOSTIC_CLEAR_DRIVING
public static final DutyStatusMalfunctionTypes MANUAL_POSITION
public static final DutyStatusMalfunctionTypes DIAGNOSTIC_MANUAL_POSITION
public static final DutyStatusMalfunctionTypes MALFUNCTION_MANUAL_POSITION
public static DutyStatusMalfunctionTypes[] values()
for (DutyStatusMalfunctionTypes c : DutyStatusMalfunctionTypes.values()) System.out.println(c);
public static DutyStatusMalfunctionTypes 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()
public static DutyStatusMalfunctionTypes findOrDefault(String name)
Copyright © 2023. All rights reserved.