Package net.luckperms.api.node.types
Interface ChatMetaNode<N extends ChatMetaNode<N,B>,B extends ChatMetaNode.Builder<N,B>>
- Type Parameters:
N- the node typeB- the node builder type
- All Superinterfaces:
Node,ScopedNode<N,B>
- All Known Subinterfaces:
PrefixNode,SuffixNode
public interface ChatMetaNode<N extends ChatMetaNode<N,B>,B extends ChatMetaNode.Builder<N,B>>
extends ScopedNode<N,B>
Represents a chat meta node. (a
PrefixNode or SuffixNode)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceChatMetaNode.Builder<N extends ChatMetaNode<N,B>, B extends ChatMetaNode.Builder<N, B>> AChatMetaNodebuilder. -
Method Summary
Modifier and TypeMethodDescriptionGets the type.Gets the meta value.intGets the priority.Methods inherited from interface net.luckperms.api.node.Node
equals, equals, getContexts, getExpiry, getExpiryDuration, getKey, getMetadata, getValue, hasExpired, hasExpiry, isNegated, metadata, resolveShorthandMethods inherited from interface net.luckperms.api.node.ScopedNode
getType, toBuilder
-
Method Details
-
getPriority
int getPriority()Gets the priority.- Returns:
- the priority
-
getMetaValue
String getMetaValue()Gets the meta value.- Returns:
- the value
-
getMetaType
@NonNull ChatMetaType getMetaType()Gets the type.- Returns:
- the type
-