public enum RequirementType extends java.lang.Enum<RequirementType>
Enum Constant and Description |
---|
FLAG |
GENDER |
GOLD |
GUILD |
HEALTH |
ITEMS |
LEVEL |
MANA |
NONE |
POINTS |
STATS |
WEAPON |
Modifier and Type | Method and Description |
---|---|
static RequirementType |
fromString(java.lang.String typeName)
Converts type ID to requirement type enum
|
static RequirementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequirementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequirementType NONE
public static final RequirementType LEVEL
public static final RequirementType STATS
public static final RequirementType GENDER
public static final RequirementType GUILD
public static final RequirementType GOLD
public static final RequirementType ITEMS
public static final RequirementType POINTS
public static final RequirementType MANA
public static final RequirementType HEALTH
public static final RequirementType WEAPON
public static final RequirementType FLAG
public static RequirementType[] values()
for (RequirementType c : RequirementType.values()) System.out.println(c);
public static RequirementType 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 static RequirementType fromString(java.lang.String typeName)
typeName
- Requirement type ID