protected static enum AbstractConnection.State extends Enum<AbstractConnection.State>
Enum Constant and Description |
---|
AUTHENTICATED |
INITIAL |
LOGIN |
MAILDATA |
PASSWORD |
RECIPIENT |
STARTMAIL |
USER |
Modifier and Type | Method and Description |
---|---|
static AbstractConnection.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractConnection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractConnection.State INITIAL
public static final AbstractConnection.State LOGIN
public static final AbstractConnection.State USER
public static final AbstractConnection.State PASSWORD
public static final AbstractConnection.State AUTHENTICATED
public static final AbstractConnection.State STARTMAIL
public static final AbstractConnection.State RECIPIENT
public static final AbstractConnection.State MAILDATA
public static AbstractConnection.State[] values()
for (AbstractConnection.State c : AbstractConnection.State.values()) System.out.println(c);
public static AbstractConnection.State 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 © 2001–2024 MickaĆ«l Guessant. All rights reserved.