data class Node(
val path: String,
val type: NodeType,
val visibility: Visibility = Visibility.Debug,
val description: String,
val reader: () -> Value,
val unit: String? = null,
)Node
(
path
, type
, visibility
, description
, reader
, unit
)
|
Signature
constructor(
path: String,
type: NodeType,
visibility: Visibility = Visibility.Debug,
description: String,
reader: () -> Value,
unit: String? = null,
)Parameters path: String
Full hierarchical, slash-delimited path identifying the node. Path conventions are pure convention — the registry stores a flat keyed map.
description: String
Short human-readable label.
reader: () -> Value
Pull-style reader closure. See contract above.
unit: String?
Optional unit string (e.g. "bytes", "ms", "count").
Returns Node |
description
: String
[Get] |
Short human-readable label.
Signature
val description: String |
path
: String
[Get] |
Full hierarchical, slash-delimited path identifying the node. Path conventions are pure convention — the registry stores a flat keyed map.
Signature
val path: String |
reader
: () -> Value
[Get] |
Pull-style reader closure. See contract above.
Signature
val reader: () -> Value |
type
: NodeType
[Get] | |
unit
: String?
[Get] |
Optional unit string (e.g. "bytes", "ms", "count").
Signature
val unit: String? = null |
visibility
: Visibility
[Get] |
toMetadata
()
|
Signature
fun toMetadata(): NodeMetadata Returns NodeMetadata |