org.mmbase.module.smtp
Enum MailHandler.MessageStatus

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


Enum Constant Summary
DELIVERED
           
ERROR
           
ERRORNEOUS_DELIVERED
           
IGNORED
           
TOO_BIG
           
UNDEFINED
           
 
Method Summary
static MailHandler.MessageStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MailHandler.MessageStatus[] 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

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

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