RoutingResolveTraceEntry

open class RoutingResolveTraceEntry

Represents a single entry in the RoutingResolveTrace.

Parameters

route - specifies instance of Route for this entry.

segmentIndex - specifies index in RoutingResolveTrace.segments for this entry.

result - specifies resolution result for this entry.

Constructors

<init>

RoutingResolveTraceEntry(
    route: Route,
    segmentIndex: Int,
    result: RoutingResolveResult? = null)

Represents a single entry in the RoutingResolveTrace.

Properties

result

specifies resolution result for this entry.

route

val route: Route

specifies instance of Route for this entry.

segmentIndex

val segmentIndex: Int

specifies index in RoutingResolveTrace.segments for this entry.

Functions

append

fun append(item: RoutingResolveTraceEntry): Unit

Appends a child to this entry

buildText

open fun buildText(builder: StringBuilder, indent: Int): Unit

Builds detailed text description for this trace entry, including children.

toString

open fun toString(): String