public static enum MailMessage.Status extends Enum<MailMessage.Status>
Modifier and Type | Method and Description |
---|---|
static MailMessage.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailMessage.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailMessage.Status NONE
public static final MailMessage.Status SENDING
public static final MailMessage.Status ERROR
public static final MailMessage.Status DONE
public static MailMessage.Status[] values()
for (MailMessage.Status c : MailMessage.Status.values()) System.out.println(c);
public static MailMessage.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2016 Apache Software Foundation. All rights reserved.