NodeState

Lifecycle / status state for every Krill node.

Consumed widely: the UI colours node chips by this value, processors gate work on it (e.g., PAUSED suppresses execution), the SSE layer emits changes as STATE_CHANGE events, and downstream logic (triggers, filters) reacts to specific transitions.

Ordinals are part of the wire contract — do not reorder.

Entries

Link copied to clipboard

Processing is suspended by user action; the node exists but is not running.

Link copied to clipboard

Informational status — the node is healthy and has a non-alarm message to surface in the UI.

Link copied to clipboard

A warning-level condition the operator should see but no immediate intervention is required.

Link copied to clipboard

A severe condition — node may still be running but degraded; prompts attention.

Link copied to clipboard

A hard error condition — the node failed to execute, connect, or read.

Link copied to clipboard

The node is in a pairing / discovery handshake (e.g., a Zigbee device being joined).

Link copied to clipboard

Default idle state — the node exists and has nothing noteworthy to report.

Link copied to clipboard

The node is actively executing its work (reading a sensor, firing an executor, etc.).

Link copied to clipboard

The node just completed a successful execution; often a transient state visible briefly in the UI.

Link copied to clipboard

The node is in the middle of being deleted; shown briefly so clients can animate the removal.

Link copied to clipboard

The node was just created; shown briefly to allow the UI to fade it in.

Link copied to clipboard

The user has opened the node in the editor but has not yet submitted changes.

Link copied to clipboard

The user has submitted edits; the node will transition away once the server acknowledges.

Link copied to clipboard

A snapshot (historical time-series payload) arrived for this node; used to invalidate cached views on the client side so the next read pulls fresh data.

Link copied to clipboard

The caller lacks authorisation to view or mutate this node (missing/invalid API key).

Link copied to clipboard

The node is currently being edited by some client; used as a soft lock so concurrent editors can see a Someone else is editing this hint.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): NodeState

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.