public static enum Message.Status extends java.lang.Enum<Message.Status>
| Enum Constant and Description |
|---|
CREATE |
FAIL |
INPROGRESS |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static Message.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Status SUCCESS
public static final Message.Status FAIL
public static final Message.Status INPROGRESS
public static final Message.Status CREATE
public static Message.Status[] values()
for (Message.Status c : Message.Status.values()) System.out.println(c);
public static Message.Status 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 null