public enum MailPriority extends Enum<MailPriority>
Represents the mail priopity
Enum Constant and Description |
---|
High
High priority
|
Low
Low priority
|
Normal
Normal priority
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Getter for the field
value . |
static MailPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailPriority Normal
Normal priority
public static final MailPriority Low
Low priority
public static final MailPriority High
High priority
public static MailPriority[] values()
for (MailPriority c : MailPriority.values()) System.out.println(c);
public static MailPriority valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Getter for the field value
.