public static enum IMAP.IMAPState extends java.lang.Enum<IMAP.IMAPState>
Enum Constant and Description |
---|
AUTH_STATE
A constant representing the "authenticated" state.
|
DISCONNECTED_STATE
A constant representing the state where the client is not yet connected to a server.
|
LOGOUT_STATE
A constant representing the "logout" state.
|
NOT_AUTH_STATE
A constant representing the "not authenticated" state.
|
Modifier and Type | Method and Description |
---|---|
static IMAP.IMAPState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IMAP.IMAPState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMAP.IMAPState DISCONNECTED_STATE
public static final IMAP.IMAPState NOT_AUTH_STATE
public static final IMAP.IMAPState AUTH_STATE
public static final IMAP.IMAPState LOGOUT_STATE
public static IMAP.IMAPState[] values()
for (IMAP.IMAPState c : IMAP.IMAPState.values()) System.out.println(c);
public static IMAP.IMAPState 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