Command

interface Command

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

The name is stored as-is but normalized for lookup (trimmed, lowercased) by the com.tealium.prism.core.internal.command.CommandRegistry. Implementors should not pre-normalize the name themselves.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
abstract fun execute(payload: DataObject, callback: Callback<TealiumResult<Unit>>): Disposable

Executes this command against the given payload.