public static enum MailboxSession.SessionType extends Enum<MailboxSession.SessionType>
Enum Constant and Description |
---|
System
Session was created via the System
|
User
Session belongs to a specific user which was authenticated somehow
|
Modifier and Type | Method and Description |
---|---|
static MailboxSession.SessionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailboxSession.SessionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailboxSession.SessionType System
public static final MailboxSession.SessionType User
public static MailboxSession.SessionType[] values()
for (MailboxSession.SessionType c : MailboxSession.SessionType.values()) System.out.println(c);
public static MailboxSession.SessionType 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 nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.