public enum DeliveryState extends Enum<DeliveryState>
| Enum Constant and Description |
|---|
FAILED |
IN_PROGRESS |
QUEUED |
SENT |
| Modifier and Type | Field and Description |
|---|---|
private int |
stateId |
| Modifier and Type | Method and Description |
|---|---|
int |
getStateId() |
static DeliveryState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryState SENT
public static final DeliveryState FAILED
public static final DeliveryState QUEUED
public static final DeliveryState IN_PROGRESS
public static DeliveryState[] values()
for (DeliveryState c : DeliveryState.values()) System.out.println(c);
public static DeliveryState 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 getStateId()
Copyright © 2013. All Rights Reserved.