public enum NarratorStatus extends java.lang.Enum<NarratorStatus>
| Modifier and Type | Field and Description |
|---|---|
private static NarratorStatus[] |
BY_ID |
private int |
id |
private java.lang.String |
resourceKey |
| Modifier and Type | Method and Description |
|---|---|
static NarratorStatus |
byId(int id) |
int |
getId() |
java.lang.String |
getResourceKey() |
static NarratorStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NarratorStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NarratorStatus OFF
public static final NarratorStatus ALL
public static final NarratorStatus CHAT
public static final NarratorStatus SYSTEM
private static final NarratorStatus[] BY_ID
private final int id
private final java.lang.String resourceKey
public static NarratorStatus[] values()
for (NarratorStatus c : NarratorStatus.values()) System.out.println(c);
public static NarratorStatus 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 int getId()
public java.lang.String getResourceKey()
public static NarratorStatus byId(int id)