Builder

interface Builder : KthBuilder

Builder interface for KthModule.

A module builder can be used with buildModule.

Functions

Link copied to clipboard
abstract fun build(): KthModule

Builds the module.

Link copied to clipboard
abstract fun include(vararg modules: KthModule)
abstract fun include(modules: Iterable<KthModule>)

Includes modules to this context or module.

Link copied to clipboard
abstract fun with(vararg elements: KthElement)
abstract fun with(elements: Iterable<KthElement>)

Includes elements to this context or module.

Link copied to clipboard
abstract fun withCombinerOperator(operator: KthOperator)

Sets the combiner operator of this context or module.