public static enum GrimoireShenanigans.Rule extends java.lang.Enum<GrimoireShenanigans.Rule>
| Enum Constant and Description |
|---|
ACESSIBLE |
DISCOURAGED |
FORBIDDEN |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
static GrimoireShenanigans.Rule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GrimoireShenanigans.Rule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrimoireShenanigans.Rule FORBIDDEN
public static final GrimoireShenanigans.Rule ACESSIBLE
public static final GrimoireShenanigans.Rule DISCOURAGED
public static GrimoireShenanigans.Rule[] values()
for (GrimoireShenanigans.Rule c : GrimoireShenanigans.Rule.values()) System.out.println(c);
public static GrimoireShenanigans.Rule 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 getName()