Interface NodeTree
public interface NodeTree
This interface is used to create a tree of nodes representing the available tags discovered by this adapter.
-
Method Summary
-
Method Details
-
addNode
void addNode(@NotNull @NotNull String id, @NotNull @NotNull String name, @NotNull @NotNull String value, @NotNull @NotNull String description, @Nullable @Nullable String parentId, @NotNull @NotNull NodeType nodeType, boolean selectable) Add a new node to this tree- Parameters:
id- the unique id of the new node.name- the name of the new node.value- the value that will be used to address this node when creating an mapping from the adapter to MQTT. May be identical to id.description- a description for this node.parentId- the id of the parent node.nodeType- the type of the node.selectable- Whether this node can be selected as a data source.
-