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