public enum DutyStatusState extends Enum<DutyStatusState> implements HasName
| Enum Constant and Description |
|---|
ACTIVE
The log is active and has been accepted by the driver.
|
INACTIVE
The log is inactive.
|
NONE
The none.
|
REJECTED
The log is a rejected edit request from another user.
|
REQUESTED
The log is a pending edit request from another user.
|
| Modifier and Type | Method and Description |
|---|---|
static DutyStatusState |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static DutyStatusState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DutyStatusState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DutyStatusState NONE
public static final DutyStatusState ACTIVE
public static final DutyStatusState INACTIVE
public static final DutyStatusState REQUESTED
public static final DutyStatusState REJECTED
public static DutyStatusState[] values()
for (DutyStatusState c : DutyStatusState.values()) System.out.println(c);
public static DutyStatusState 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 DutyStatusState findOrDefault(String name)
Copyright © 2023. All rights reserved.