Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
core/com.tealium.prism.core.api.command

Package-level declarations

Types

Command
Link copied to clipboard
interface Command

Defines a named unit of work that can be executed against a DataObject payload.

CommandDispatcher
Link copied to clipboard
abstract class CommandDispatcher(val id: String, val version: String, commands: List<Command>, logger: Logger, logCategory: String = id, scheduler: Scheduler) : Dispatcher

Abstract Dispatcher that routes each Dispatch through a CommandRegistry.

CommandException
Link copied to clipboard
class CommandException(message: String? = null, cause: Throwable? = null) : TealiumException

Represents a failure that occurred during Command execution.

CommandMappingsBuilder
Link copied to clipboard
abstract class CommandMappingsBuilder<Command : CommandName, Destination : JsonObjectPathConvertible>(delegate: Mappings = Mappings.default()) : Mappings

Extends Mappings with type-safe command and destination overloads for CommandDispatcher-based dispatcher modules.

CommandName
Link copied to clipboard
interface CommandName

Implemented by types that represent a named command, enabling type-safe command name references in CommandMappingsBuilder.mapCommand.

Functions

getCommands
Link copied to clipboard
fun Dispatch.getCommands(): List<String>

Extracts command names from the dispatch payload. Supports both a DataList of strings (multiple commands) and a single String, matching the behavior of the Swift Dispatch+Commands extension.

Generated by Dokka
(c) Tealium 2026