Class BuildersKt

  • All Implemented Interfaces:

    
    public final class BuildersKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static BasicConfigurationNode node(ConfigurationOptions options, Function1<BasicConfigurationNode, Unit> init) Create a new basic configuration node, optionally providing options.
      final static CommentedConfigurationNode commented(ConfigurationOptions options, Function1<CommentedConfigurationNode, Unit> init) Create a commented configuration node.
      final static AttributedConfigurationNode attributed(String nodeName, Pair<String, String> attributes, ConfigurationOptions options, Function1<AttributedConfigurationNode, Unit> init) Create a new attributed configuration node, with all attributes applied, the provided options, and running init to initialize the node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • node

         final static BasicConfigurationNode node(ConfigurationOptions options, Function1<BasicConfigurationNode, Unit> init)

        Create a new basic configuration node, optionally providing options.

      • commented

         final static CommentedConfigurationNode commented(ConfigurationOptions options, Function1<CommentedConfigurationNode, Unit> init)

        Create a commented configuration node.

      • attributed

         final static AttributedConfigurationNode attributed(String nodeName, Pair<String, String> attributes, ConfigurationOptions options, Function1<AttributedConfigurationNode, Unit> init)

        Create a new attributed configuration node, with all attributes applied, the provided options, and running init to initialize the node.