public static enum ChatBuilder.ClickAction extends Enum<ChatBuilder.ClickAction>
| Enum Constant and Description |
|---|
CHANGE_PAGE |
OPEN_FILE |
OPEN_URL |
RUN_COMMAND |
SUGGEST_COMMAND |
| Modifier and Type | Method and Description |
|---|---|
static ChatBuilder.ClickAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatBuilder.ClickAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatBuilder.ClickAction OPEN_URL
public static final ChatBuilder.ClickAction OPEN_FILE
public static final ChatBuilder.ClickAction RUN_COMMAND
public static final ChatBuilder.ClickAction SUGGEST_COMMAND
public static final ChatBuilder.ClickAction CHANGE_PAGE
public static ChatBuilder.ClickAction[] values()
for (ChatBuilder.ClickAction c : ChatBuilder.ClickAction.values()) System.out.println(c);
public static ChatBuilder.ClickAction 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 © 2017. All rights reserved.