public enum DriverChangeType extends Enum<DriverChangeType> implements HasName
| Enum Constant and Description |
|---|
DRIVER
User-based Driver.
|
DRIVER_KEY
Driver Key - based Driver.
|
DRIVER_VEHICLE_CHANGE
DriverVehicleChange log - based Driver.
|
NONE
Unknown key type.
|
RESET_DRIVER
System-detected Driver reset (to UnknownDriver).
|
TRIP_DRIVER
User-based Driver that is only active for the duration of a single trip.
|
| Modifier and Type | Method and Description |
|---|---|
static DriverChangeType |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static DriverChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DriverChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DriverChangeType NONE
public static final DriverChangeType DRIVER_KEY
public static final DriverChangeType DRIVER_VEHICLE_CHANGE
public static final DriverChangeType TRIP_DRIVER
public static final DriverChangeType DRIVER
public static final DriverChangeType RESET_DRIVER
public static DriverChangeType[] values()
for (DriverChangeType c : DriverChangeType.values()) System.out.println(c);
public static DriverChangeType 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 DriverChangeType findOrDefault(String name)
Copyright © 2023. All rights reserved.