public interface ConfigTree
| Modifier and Type | Method and Description |
|---|---|
static ConfigTreeBuilder |
builder() |
static ConfigTreeBuilder |
builder(ConfigTree parent,
java.lang.String name)
Creates a new non-root
ConfigTreeBuilder with a name. |
NodeCollection |
getItems()
Returns a collection of this node's children.
|
ConfigNode |
lookup(java.lang.String name)
Tries to find a child in this node by name.
|
static ConfigTreeBuilder builder()
static ConfigTreeBuilder builder(@Nullable ConfigTree parent, @Nullable java.lang.String name)
ConfigTreeBuilder with a name.parent - the parent of the builder to createname - the name of the ConfigTree created by the builder@Nonnull NodeCollection getItems()
The returned collection is guaranteed to have no two nodes with the same name. Any changes made to it will be reflected by this tree.
NodeOperations@Nullable ConfigNode lookup(java.lang.String name)
name - The name of the child to look fornull