public enum MailboxType extends java.lang.Enum<MailboxType>
Enum Constant and Description |
---|
ACTOR |
DEFAULT |
MULTI_WORKER |
NON_QUEUED |
Modifier and Type | Method and Description |
---|---|
static MailboxType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MailboxType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailboxType DEFAULT
public static final MailboxType ACTOR
public static final MailboxType MULTI_WORKER
public static final MailboxType NON_QUEUED
public static MailboxType[] values()
for (MailboxType c : MailboxType.values()) System.out.println(c);
public static MailboxType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null