org.mmbase.module.smtp
Enum MailHandler.MailBoxStatus
java.lang.Object
java.lang.Enum<MailHandler.MailBoxStatus>
org.mmbase.module.smtp.MailHandler.MailBoxStatus
- All Implemented Interfaces:
- Serializable, Comparable<MailHandler.MailBoxStatus>
- Enclosing interface:
- MailHandler
public static enum MailHandler.MailBoxStatus
- extends Enum<MailHandler.MailBoxStatus>
OK
public static final MailHandler.MailBoxStatus OK
NO_SUCH_USER
public static final MailHandler.MailBoxStatus NO_SUCH_USER
NO_INBOX
public static final MailHandler.MailBoxStatus NO_INBOX
CANT_CREATE_INBOX
public static final MailHandler.MailBoxStatus CANT_CREATE_INBOX
TOO_MANY_INBOXES
public static final MailHandler.MailBoxStatus TOO_MANY_INBOXES
UNDEFINED
public static final MailHandler.MailBoxStatus UNDEFINED
values
public static MailHandler.MailBoxStatus[] 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.MailBoxStatus c : MailHandler.MailBoxStatus.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.MailBoxStatus 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