public enum ChatMetaType extends Enum<ChatMetaType>
| Enum Constant and Description |
|---|
PREFIX
Represents a prefix
|
SUFFIX
Represents a suffix
|
| Modifier and Type | Method and Description |
|---|---|
abstract ChatMetaNode.Builder<?,?> |
builder()
Creates a
ChatMetaNode.Builder for the ChatMetaType. |
abstract ChatMetaNode.Builder<?,?> |
builder(@NonNull String value,
int priority)
Creates a
ChatMetaNode.Builder for the ChatMetaType. |
@NonNull NodeType<? extends ChatMetaNode<?,?>> |
nodeType()
Gets the
NodeType for the ChatMetaType. |
String |
toString() |
static ChatMetaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatMetaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatMetaType PREFIX
public static final ChatMetaType SUFFIX
public static ChatMetaType[] values()
for (ChatMetaType c : ChatMetaType.values()) System.out.println(c);
public static ChatMetaType 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 @NonNull NodeType<? extends ChatMetaNode<?,?>> nodeType()
NodeType for the ChatMetaType.public abstract ChatMetaNode.Builder<?,?> builder()
ChatMetaNode.Builder for the ChatMetaType.public abstract ChatMetaNode.Builder<?,?> builder(@NonNull String value, int priority)
ChatMetaNode.Builder for the ChatMetaType.value - the value to setpriority - the priority to setpublic String toString()
toString in class Enum<ChatMetaType>