JavaScriptTransformerFactory

Factory responsible for creating and configuring the JavaScriptTransformer module.

Subclasses must provide an adapterProvider that supplies a JavaScriptEngineAdapter for the given TealiumContext. If the adapter fails to initialize, the factory logs a warning and returns null, preventing the module from being registered.

This factory is always enforced and cannot be disabled.

Constructors

Link copied to clipboard
constructor(adapterProvider: (TealiumContext) -> JavaScriptEngineAdapter)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val moduleType: String

Functions

Link copied to clipboard
open override fun canBeDisabled(): Boolean
Link copied to clipboard
open override fun create(moduleId: String, context: TealiumContext, configuration: DataObject): Module?
Link copied to clipboard
open override fun getEnforcedSettings(): List<DataObject>