org.mmbase.module.smtp
Enum MailHandler.MessageStatus
java.lang.Object
java.lang.Enum<MailHandler.MessageStatus>
org.mmbase.module.smtp.MailHandler.MessageStatus
- All Implemented Interfaces:
- Serializable, Comparable<MailHandler.MessageStatus>
- Enclosing interface:
- MailHandler
public static enum MailHandler.MessageStatus
- extends Enum<MailHandler.MessageStatus>
DELIVERED
public static final MailHandler.MessageStatus DELIVERED
ERRORNEOUS_DELIVERED
public static final MailHandler.MessageStatus ERRORNEOUS_DELIVERED
ERROR
public static final MailHandler.MessageStatus ERROR
IGNORED
public static final MailHandler.MessageStatus IGNORED
TOO_BIG
public static final MailHandler.MessageStatus TOO_BIG
UNDEFINED
public static final MailHandler.MessageStatus UNDEFINED
values
public static MailHandler.MessageStatus[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MailHandler.MessageStatus c : MailHandler.MessageStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MailHandler.MessageStatus valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
MMBase 2.0-SNAPSHOT - null