public static enum Draft.HandshakeState extends Enum<Draft.HandshakeState>
| Enum Constant and Description |
|---|
MATCHED
Handshake matched this Draft successfully
|
NOT_MATCHED
Handshake is does not match this Draft
|
| Modifier and Type | Method and Description |
|---|---|
static Draft.HandshakeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Draft.HandshakeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Draft.HandshakeState MATCHED
public static final Draft.HandshakeState NOT_MATCHED
public static Draft.HandshakeState[] values()
for (Draft.HandshakeState c : Draft.HandshakeState.values()) System.out.println(c);
public static Draft.HandshakeState 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 © 2017. All rights reserved.