Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.rules/Condition/Operator

Operator

interface Operator : DataItemConvertible

A Condition.Operator is a specific type of predicate, that applies some functionality to a given DataItem, and determines if it matches a given target filter value.

Types

Converter
Link copied to clipboard
object Converter : DataItemConverter<Condition.Operator>

Properties

id
Link copied to clipboard
abstract val id: String

The id of this Operator for the purposes of reading to/from a DataItem/DataObject

Functions

apply
Link copied to clipboard
abstract fun apply(dataItem: DataItem?, filter: StringContainer?): Boolean

Called to determine if the given dataItem matches the filter for this Operator.

asDataItem
Link copied to clipboard
open override fun asDataItem(): DataItem

Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be:

Generated by Dokka
(c) Tealium 2026