org.mmbase.module.smtp
Enum MailHandler.MailBoxStatus

java.lang.Object
  extended by java.lang.Enum<MailHandler.MailBoxStatus>
      extended by 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>


Enum Constant Summary
CANT_CREATE_INBOX
           
NO_INBOX
           
NO_SUCH_USER
           
OK
           
TOO_MANY_INBOXES
           
UNDEFINED
           
 
Method Summary
static MailHandler.MailBoxStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MailHandler.MailBoxStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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