doc / ch.tutteli.atrium.domain.builders.reporting / LocaleOrderDeciderOption

LocaleOrderDeciderOption

interface LocaleOrderDeciderOption (source)
Deprecated: Configure components via withOptions when creating an expectation verb instead; will be removed with 0.17.0

Provides options to create a LocaleOrderDecider.

Properties

translationSupplier

abstract val translationSupplier: TranslationSupplier

The previously chosen TranslationSupplier.

Functions

withDefaultLocaleOrderDecider

abstract fun withDefaultLocaleOrderDecider(): TranslatorOption

Uses CoreFactory.newLocaleOrderDecider as LocaleOrderDecider.

withLocaleOrderDecider

abstract fun withLocaleOrderDecider(localeOrderDecider: LocaleOrderDecider): TranslatorOption

Uses localeOrderDecider as LocaleOrderDecider.

Companion Object Functions

create

fun create(translationSupplier: TranslationSupplier): LocaleOrderDeciderOption