public enum WauzInstanceKeyStatus extends java.lang.Enum<WauzInstanceKeyStatus>
Enum Constant and Description |
---|
OBTAINED
The status of an obtained key.
|
UNOBTAINED
The status of an ubobtained key.
|
USED
The status of an used key.
|
Modifier and Type | Field and Description |
---|---|
private org.bukkit.ChatColor |
color
The color of the instance key status.
|
private java.lang.String |
name
The name of the instance key status.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the name of the instance key status in a description friendly format.
|
static WauzInstanceKeyStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WauzInstanceKeyStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WauzInstanceKeyStatus UNOBTAINED
public static final WauzInstanceKeyStatus OBTAINED
public static final WauzInstanceKeyStatus USED
private java.lang.String name
private org.bukkit.ChatColor color
public static WauzInstanceKeyStatus[] values()
for (WauzInstanceKeyStatus c : WauzInstanceKeyStatus.values()) System.out.println(c);
public static WauzInstanceKeyStatus 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.String toString()
toString
in class java.lang.Enum<WauzInstanceKeyStatus>