| Enum Constant and Description |
|---|
RECIPIENT
recipient
|
SENDER
sender
|
UNEXPECTED_VALUE
For EmailRole values that were not expected from the service
|
UNKNOWN
unknown
|
UNKNOWN_FUTURE_VALUE
unknown Future Value
|
| Modifier and Type | Method and Description |
|---|---|
static EmailRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmailRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailRole UNKNOWN
public static final EmailRole SENDER
public static final EmailRole RECIPIENT
public static final EmailRole UNKNOWN_FUTURE_VALUE
public static final EmailRole UNEXPECTED_VALUE
public static EmailRole[] values()
for (EmailRole c : EmailRole.values()) System.out.println(c);
public static EmailRole 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