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