Kind

The kinds of problem a topology can have: the kinds Topology.from finds, and CONSUMER for the app's own.

Entries

Link copied to clipboard

A name is the empty string.

Link copied to clipboard

A name is already used by an earlier sibling.

Link copied to clipboard

A group has no children and no template to attach any by.

Link copied to clipboard

A weight is not a positive whole number or ratio, such as "3" or "3/2".

Link copied to clipboard

A maxConcurrent ceiling is negative. 0 is not a problem: it pauses the node. Reported at the node's own path, or at the group's path for the ceiling in its template or in a template nested in it.

Link copied to clipboard

A problem the app found in its own settings for a node, kept in the same file as the tree, so that one list holds everything wrong with the file. Heddle never reports this kind: the app builds the problem with the node's TopologyProblem.path and puts it in the list itself.

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

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
expect val name: String
Link copied to clipboard
expect val ordinal: Int