Package net.luckperms.api.node.types
Interface MetaNode
-
- All Superinterfaces:
Node,ScopedNode<MetaNode,MetaNode.Builder>
public interface MetaNode extends ScopedNode<MetaNode,MetaNode.Builder>
A sub-type ofNodeused to store meta assignments.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMetaNode.BuilderAMetaNodebuilder.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static @NonNull MetaNode.Builderbuilder()Creates aMetaNodebuilder.static @NonNull MetaNode.Builderbuilder(@NonNull String key, @NonNull String value)Creates aMetaNodebuilder.@NonNull StringgetMetaKey()Gets the meta key.@NonNull StringgetMetaValue()Gets the meta value.default @NonNull NodeType<MetaNode>getType()Gets the type of the node.-
Methods inherited from interface net.luckperms.api.node.Node
equals, equals, getContexts, getExpiry, getExpiryDuration, getKey, getMetadata, getValue, hasExpired, hasExpiry, isNegated, metadata, resolveShorthand
-
Methods inherited from interface net.luckperms.api.node.ScopedNode
toBuilder
-
-
-
-
Method Detail
-
getType
default @NonNull NodeType<MetaNode> getType()
Description copied from interface:NodeGets the type of the node.- Specified by:
getTypein interfaceNode- Specified by:
getTypein interfaceScopedNode<MetaNode,MetaNode.Builder>- Returns:
- the node type
-
builder
static @NonNull MetaNode.Builder builder()
Creates aMetaNodebuilder.- Returns:
- the builder
-
-