public static enum PacketExUpdateServer.UpdateType extends java.lang.Enum<PacketExUpdateServer.UpdateType>
Enum Constant and Description |
---|
COMMAND |
SET_ENABLED |
SET_LOGGING |
SET_STOP_COMMAND |
START |
STOP |
TERMINATE |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?>[] |
getArguments() |
short |
getValue() |
static PacketExUpdateServer.UpdateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketExUpdateServer.UpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketExUpdateServer.UpdateType START
public static final PacketExUpdateServer.UpdateType COMMAND
public static final PacketExUpdateServer.UpdateType STOP
public static final PacketExUpdateServer.UpdateType TERMINATE
public static final PacketExUpdateServer.UpdateType SET_ENABLED
public static final PacketExUpdateServer.UpdateType SET_LOGGING
public static final PacketExUpdateServer.UpdateType SET_STOP_COMMAND
public static PacketExUpdateServer.UpdateType[] values()
for (PacketExUpdateServer.UpdateType c : PacketExUpdateServer.UpdateType.values()) System.out.println(c);
public static PacketExUpdateServer.UpdateType 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 nullpublic java.lang.Class<?>[] getArguments()
public short getValue()