ViewKind

enum class ViewKind : Enum<ViewKind>

The kind of a saved view: the kind of its config, as the view engine writes it.

Cases may be added in a minor release, so a when over it keeps an else branch.

The view store's events carry its kind, so a new case is read by every node of the view store, and by the view engine, before one writes it. An older node fails on an event of a kind it does not know, and refuses to save a view of one (ViewKind.of finds none). An older view engine does not check the kind: it reads one that is neither record nor dashboard as an analysis.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

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

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.

Properties

Link copied to clipboard