public enum CommonMessage extends Enum<CommonMessage> implements CommandMessage
| Enum Constant and Description |
|---|
CHECK_CONSOLE |
IS_LINKED_ERROR |
NOT_A_PLAYER |
COLOR_CHAR| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static CommonMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfgetMessagepublic static final CommonMessage NOT_A_PLAYER
public static final CommonMessage CHECK_CONSOLE
public static final CommonMessage IS_LINKED_ERROR
public static CommonMessage[] values()
for (CommonMessage c : CommonMessage.values()) System.out.println(c);
public static CommonMessage valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<CommonMessage>Copyright © 2020 GeyserMC. All rights reserved.