public enum LoginParseState extends java.lang.Enum<LoginParseState>
Enum Constant and Description |
---|
EXPECT_ANSWER |
EXPECT_CRLF |
EXPECT_LOGIN |
EXPECT_PASS |
Modifier and Type | Method and Description |
---|---|
static LoginParseState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginParseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginParseState EXPECT_LOGIN
public static final LoginParseState EXPECT_PASS
public static final LoginParseState EXPECT_ANSWER
public static final LoginParseState EXPECT_CRLF
public static LoginParseState[] values()
for (LoginParseState c : LoginParseState.values()) System.out.println(c);
public static LoginParseState 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 nullCopyright © 2021. All Rights Reserved.