public class NodeOperations
extends java.lang.Object
| Constructor and Description |
|---|
NodeOperations() |
| Modifier and Type | Method and Description |
|---|---|
static void |
mergeTo(ConfigValue value,
Node to)
Merges a leaf node (
ConfigValue) into a ConfigNode |
static void |
mergeTo(Node from,
Node to)
Merges two
ConfigNode objects |
static <T> void |
mergeTo(Property<T> from,
Property<T> to) |
public static void mergeTo(Node from, Node to)
ConfigNode objectsfrom - The ConfigNode that will be read from, but not mutated.to - The mutated ConfigNode that will inherit from's values and nodes.public static void mergeTo(ConfigValue value, Node to)
ConfigValue) into a ConfigNodevalue - The leaf node to be inheritedto - The mutated ConfigNode that will inherit value