Interface ScopedNode<N extends ScopedNode<N,B>,B extends NodeBuilder<N,B>>

Type Parameters:
N - the node type
B - the node builder type
All Superinterfaces:
Node
All Known Subinterfaces:
ChatMetaNode<N,B>, DisplayNameNode, InheritanceNode, MetaNode, PermissionNode, PrefixNode, RegexPermissionNode, SuffixNode, WeightNode

public interface ScopedNode<N extends ScopedNode<N,B>,B extends NodeBuilder<N,B>> extends Node
A Node, with its own type and the type of its associated builder defined as a type parameter.
  • Method Details

    • getType

      @NonNull NodeType<N> getType()
      Description copied from interface: Node
      Gets the type of the node.
      Specified by:
      getType in interface Node
      Returns:
      the node type
    • toBuilder

      @NonNull B toBuilder()
      Description copied from interface: Node
      Gets a NodeBuilder, with the attributes of this node already applied.
      Specified by:
      toBuilder in interface Node
      Returns:
      an editable, builder form of this node