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