Enum MailMessage.Status
- java.lang.Object
-
- java.lang.Enum<MailMessage.Status>
-
- org.apache.openmeetings.db.entity.basic.MailMessage.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<MailMessage.Status>
- Enclosing class:
- MailMessage
public static enum MailMessage.Status extends Enum<MailMessage.Status>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
NONE
public static final MailMessage.Status NONE
-
SENDING
public static final MailMessage.Status SENDING
-
ERROR
public static final MailMessage.Status ERROR
-
DONE
public static final MailMessage.Status DONE
-
-
Method Detail
-
values
public static MailMessage.Status[] 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 (MailMessage.Status c : MailMessage.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MailMessage.Status 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 nameNullPointerException
- if the argument is null
-
-