public static enum AuthExchange.State extends Enum<AuthExchange.State>
Enum Constant and Description |
---|
CHALLENGED |
FAILURE |
HANDSHAKE |
SUCCESS |
UNCHALLENGED |
Modifier and Type | Method and Description |
---|---|
static AuthExchange.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthExchange.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthExchange.State CHALLENGED
public static final AuthExchange.State FAILURE
public static final AuthExchange.State HANDSHAKE
public static final AuthExchange.State SUCCESS
public static final AuthExchange.State UNCHALLENGED
public static AuthExchange.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 nullpublic static AuthExchange.State[] values()
for (AuthExchange.State c : AuthExchange.State.values()) System.out.println(c);