create

Builds the Node.

  • id defaults to Uuid.random() if not set.

  • parent is auto-filled to id when the node is a KrillApp.Server and no parent was supplied (top-level servers are their own parents).

  • host, type, and meta are required and throw NullPointerException if missing — this is intentional fail-loud behaviour rather than silently constructing a half-built node.