OrRouteSelector

data class OrRouteSelector(val first: RouteSelector, val second: RouteSelector) : RouteSelector

Evaluates a route as a result of the OR operation using two other selectors.

Parameters

first

is a first selector

second

is a second selector

Constructors

Link copied to clipboard
constructor(first: RouteSelector, second: RouteSelector)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex.

Link copied to clipboard
open override fun toString(): String