Package net.luckperms.api.node
Interface NodeBuilderRegistry
-
@Internal public interface NodeBuilderRegistry
A registry of methods for obtainingNodeBuilders for the various node types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull DisplayNameNode.BuilderforDisplayName()Gets aNodeBuilderforDisplayNameNodes.@NonNull InheritanceNode.BuilderforInheritance()Gets aNodeBuilderforInheritanceNodes.@NonNull NodeBuilder<?,?>forKey(String key)Gets aNodeBuilderapplicable for the given key.@NonNull MetaNode.BuilderforMeta()Gets aNodeBuilderforMetaNodes.@NonNull PermissionNode.BuilderforPermission()Gets aNodeBuilderforPermissionNodes.@NonNull PrefixNode.BuilderforPrefix()Gets aNodeBuilderforPrefixNodes.@NonNull RegexPermissionNode.BuilderforRegexPermission()Gets aNodeBuilderforRegexPermissionNodes.@NonNull SuffixNode.BuilderforSuffix()Gets aNodeBuilderforSuffixNodes.@NonNull WeightNode.BuilderforWeight()Gets aNodeBuilderforWeightNodes.
-
-
-
Method Detail
-
forKey
@NonNull NodeBuilder<?,?> forKey(String key)
Gets aNodeBuilderapplicable for the given key.Prefer using the
Node.builder(String)method.- Parameters:
key- the key- Returns:
- the node builder
- See Also:
Node.builder(String)
-
forPermission
@NonNull PermissionNode.Builder forPermission()
- Returns:
- the node builder
- See Also:
PermissionNode.builder()
-
forRegexPermission
@NonNull RegexPermissionNode.Builder forRegexPermission()
- Returns:
- the node builder
- See Also:
RegexPermissionNode.builder()
-
forInheritance
@NonNull InheritanceNode.Builder forInheritance()
- Returns:
- the node builder
- See Also:
InheritanceNode.builder()
-
forPrefix
@NonNull PrefixNode.Builder forPrefix()
- Returns:
- the node builder
- See Also:
PrefixNode.builder()
-
forSuffix
@NonNull SuffixNode.Builder forSuffix()
- Returns:
- the node builder
- See Also:
SuffixNode.builder()
-
forMeta
@NonNull MetaNode.Builder forMeta()
- Returns:
- the node builder
- See Also:
MetaNode.builder()
-
forWeight
@NonNull WeightNode.Builder forWeight()
- Returns:
- the node builder
- See Also:
WeightNode.builder()
-
forDisplayName
@NonNull DisplayNameNode.Builder forDisplayName()
- Returns:
- the node builder
- See Also:
DisplayNameNode.builder()
-
-