Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.settings.modules/ModuleSettingsBuilder

ModuleSettingsBuilder

open class ModuleSettingsBuilder<T : ModuleSettingsBuilder<T>>(moduleType: String)

Base class to extend from when creating a settings builder for a new module.

Module settings are expected to be DataObjects and as such, this class becomes a wrapper around a standard DataObject.Builder, but allows for implementations to provide more user-friendly method names.

Therefore it also doesn't require users to know which json key any particular setting needs to be set at.

Inheritors

RuleModuleSettingsBuilder

Constructors

ModuleSettingsBuilder
Link copied to clipboard
constructor(moduleType: String)

Functions

build
Link copied to clipboard
fun build(): DataObject

Returns the complete Module settings as configured by this ModuleSettingsBuilder.

setEnabled
Link copied to clipboard
fun setEnabled(enabled: Boolean): T

Sets the resulting Module to be permanently enabled/disabled. Local/Remote settings sources will be overridden by this

setOrder
Link copied to clipboard
fun setOrder(order: Int): T

Sets the order in which the Module needs to be initialized.

Generated by Dokka
(c) Tealium 2026