public enum ModelNotification extends java.lang.Enum<ModelNotification>
Enum Constant and Description |
---|
ALL |
BANK |
CHAT |
LOG |
MAP |
PLAYERS |
RESOURCES |
SCORE |
STATE |
TRADE |
Modifier and Type | Method and Description |
---|---|
static ModelNotification |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelNotification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelNotification ALL
public static final ModelNotification BANK
public static final ModelNotification RESOURCES
public static final ModelNotification MAP
public static final ModelNotification PLAYERS
public static final ModelNotification CHAT
public static final ModelNotification STATE
public static final ModelNotification SCORE
public static final ModelNotification LOG
public static final ModelNotification TRADE
public static ModelNotification[] values()
for (ModelNotification c : ModelNotification.values()) System.out.println(c);
public static ModelNotification 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 null