public enum ImapConnectionState extends Enum<ImapConnectionState>
Enum Constant and Description |
---|
CONNECTION_AUTHENTICATED |
CONNECTION_NOT_AUTHENTICATED |
CONNECTION_SELECTED |
Modifier and Type | Method and Description |
---|---|
static ImapConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImapConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImapConnectionState CONNECTION_NOT_AUTHENTICATED
public static final ImapConnectionState CONNECTION_AUTHENTICATED
public static final ImapConnectionState CONNECTION_SELECTED
public static ImapConnectionState[] values()
for (ImapConnectionState c : ImapConnectionState.values()) System.out.println(c);
public static ImapConnectionState 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 © 2023. All rights reserved.