Package net.luckperms.api.node.types
Interface MetaNode
- All Superinterfaces:
Node,ScopedNode<MetaNode,MetaNode.Builder>
A sub-type of
Node used to store meta assignments.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull MetaNode.Builderbuilder()Creates aMetaNodebuilder.static @NonNull MetaNode.BuilderCreates aMetaNodebuilder.Gets the meta key.Gets the meta value.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, resolveShorthandMethods inherited from interface net.luckperms.api.node.ScopedNode
toBuilder
-
Method Details
-
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
-
getMetaKey
Gets the meta key.- Returns:
- the meta key
-
getMetaValue
Gets the meta value.- Returns:
- the meta value
-
builder
Creates aMetaNodebuilder.- Returns:
- the builder
-
builder
Creates aMetaNodebuilder.- Parameters:
key- the meta key to setvalue- the meta value to set- Returns:
- the builder
-