public enum MessageDisposition extends java.lang.Enum<MessageDisposition>
| Enum Constant and Description |
|---|
SAVE_ONLY
Messages are saved but not sent.
|
SEND_AND_SAVE_COPY
Messages are sent and a copy is saved.
|
SEND_ONLY
Messages are sent but no copy is saved.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageDisposition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageDisposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageDisposition SAVE_ONLY
public static final MessageDisposition SEND_ONLY
public static final MessageDisposition SEND_AND_SAVE_COPY
public static MessageDisposition[] values()
for (MessageDisposition c : MessageDisposition.values()) System.out.println(c);
public static MessageDisposition 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