public enum FaultResetMode extends Enum<FaultResetMode> implements HasName
| Enum Constant and Description |
|---|
AUTO_RESET
The engine FaultData ExceptionEvent for this kind of Diagnostic will always contain single FaultData instance.
|
NONE
The engine FaultData ExceptionEvent for this kind of Diagnostic can contain a number of sequential
FaultData instances. |
| Modifier and Type | Method and Description |
|---|---|
static FaultResetMode |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static FaultResetMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FaultResetMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaultResetMode NONE
FaultData instances. These instances will continue to grow until the fault condition ends.public static final FaultResetMode AUTO_RESET
public static FaultResetMode[] values()
for (FaultResetMode c : FaultResetMode.values()) System.out.println(c);
public static FaultResetMode 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 FaultResetMode findOrDefault(String name)
Copyright © 2023. All rights reserved.