public enum Message extends Enum<Message>
| Enum Constant and Description |
|---|
DOESNT_EXISTS |
INVALID_VALUE |
MUST_BE_NUMBER |
MUST_BE_NUMBER_DECIMAL |
MUST_BE_PLAYER |
NO_CONSOLE |
NO_PERMISSION |
WRONG_USAGE |
| Modifier and Type | Method and Description |
|---|---|
static Message |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message NO_PERMISSION
public static final Message NO_CONSOLE
public static final Message DOESNT_EXISTS
public static final Message WRONG_USAGE
public static final Message MUST_BE_NUMBER
public static final Message MUST_BE_NUMBER_DECIMAL
public static final Message MUST_BE_PLAYER
public static final Message INVALID_VALUE
public static Message[] values()
for (Message c : Message.values()) System.out.println(c);
public static Message 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 nullCopyright © 2019. All rights reserved.