public enum MessageState extends java.lang.Enum<MessageState>
Enum Constant and Description |
---|
ACCEPTED
Message is in accepted state.
|
DELETED
Message has been deleted.
|
DELIVERED
Message is delivered to destination.
|
ENROUTE
The message is in enroute state.
|
EXPIRED
Message validity period has expired.
|
REJECTED
Message is in rejected state.
|
UNDELIVERABLE
Message is undeliverable.
|
UNKNOWN
Message is in invalid state.
|
Modifier and Type | Method and Description |
---|---|
byte |
value() |
static MessageState |
valueOf(byte value) |
static MessageState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageState ENROUTE
public static final MessageState DELIVERED
public static final MessageState EXPIRED
public static final MessageState DELETED
public static final MessageState UNDELIVERABLE
public static final MessageState ACCEPTED
public static final MessageState UNKNOWN
public static final MessageState REJECTED
public static MessageState[] values()
for (MessageState c : MessageState.values()) System.out.println(c);
public static MessageState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte value()
public static MessageState valueOf(byte value)