public enum ImapSessionState extends Enum<ImapSessionState>
Enum Constant and Description |
---|
AUTHENTICATED
RFC2060
3.2 Authenticated State |
LOGOUT
RFC2060
3.4 Logout State |
NON_AUTHENTICATED
RFC2060
3.1 Non-Authenticated State |
SELECTED
RFC2060
3.3 Selected State |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ImapSessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImapSessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImapSessionState NON_AUTHENTICATED
3.1 Non-Authenticated State
public static final ImapSessionState AUTHENTICATED
3.2 Authenticated State
public static final ImapSessionState SELECTED
3.3 Selected State
public static final ImapSessionState LOGOUT
3.4 Logout State
public static ImapSessionState[] values()
for (ImapSessionState c : ImapSessionState.values()) System.out.println(c);
public static ImapSessionState 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 String toString()
toString
in class Enum<ImapSessionState>
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.