Class BuildersKt
-
- All Implemented Interfaces:
public final class BuildersKt
-
-
Method Summary
Modifier and Type Method Description final static BasicConfigurationNodenode(ConfigurationOptions options, Function1<BasicConfigurationNode, Unit> init)Create a new basic configuration node, optionally providing options. final static CommentedConfigurationNodecommented(ConfigurationOptions options, Function1<CommentedConfigurationNode, Unit> init)Create a commented configuration node. final static AttributedConfigurationNodeattributed(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. -
-
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.
-
-
-
-