public static enum SMS.Status extends java.lang.Enum<SMS.Status>
Enum Constant and Description |
---|
NEW
newly created, still not in the queue
|
READY
waiting in the queue, ready to be sent
|
SENDING
currently being sent
|
SENT
successfully sent
|
WAITING
waiting in the queue, but still not ready (waiting for delay, etc)
|
Modifier and Type | Method and Description |
---|---|
static SMS.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SMS.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMS.Status NEW
public static final SMS.Status WAITING
public static final SMS.Status READY
public static final SMS.Status SENDING
public static final SMS.Status SENT
public static SMS.Status[] values()
for (SMS.Status c : SMS.Status.values()) System.out.println(c);
public static SMS.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