public enum DVIRLogType extends Enum<DVIRLogType> implements HasName
DVIRLog.| Enum Constant and Description |
|---|
IN_TRIP
In-trip log type.
|
POST_TRIP
Post-trip log type.
|
PRE_TRIP
Pre-trip log type.
|
UNKNOWN
Unknown log type.
|
| Modifier and Type | Method and Description |
|---|---|
static DVIRLogType |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static DVIRLogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DVIRLogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DVIRLogType UNKNOWN
public static final DVIRLogType PRE_TRIP
public static final DVIRLogType POST_TRIP
public static final DVIRLogType IN_TRIP
public static DVIRLogType[] values()
for (DVIRLogType c : DVIRLogType.values()) System.out.println(c);
public static DVIRLogType 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 DVIRLogType findOrDefault(String name)
Copyright © 2023. All rights reserved.