JavaScriptTransformerFactory
abstract class JavaScriptTransformerFactory(adapterProvider: (TealiumContext) -> JavaScriptEngineAdapter) : ModuleFactory
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.
Functions
Link copied to clipboard
Link copied to clipboard
open override fun create(moduleId: String, context: TealiumContext, configuration: DataObject): Module?
Link copied to clipboard