BarrierFactory

interface BarrierFactory

The BarrierFactory is responsible for creating new ConfigurableBarrier instances.

Properties

Link copied to clipboard
abstract val id: String

The unique identifier of this barrier. This String will be used to match up barriers scoped in the configuration JSON.

Functions

Link copied to clipboard
abstract fun create(context: TealiumContext, configuration: DataObject): ConfigurableBarrier

Creates a ConfigurableBarrier instance using the given context and configuration.

Link copied to clipboard

An optional set of default BarrierScopes to use in the event that these are not configured in any settings sources.

Link copied to clipboard

Returns some optional settings for this barrier that override any other Local or Remote settings fields.