atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.reporting / LocaleOrderDeciderOption

LocaleOrderDeciderOption

interface LocaleOrderDeciderOption (source)

Provides options to create a LocaleOrderDecider.

Properties

translationSupplier

abstract val translationSupplier: <ERROR CLASS>

The previously chosen TranslationSupplier.

Functions

withDefaultLocaleOrderDecider

abstract fun withDefaultLocaleOrderDecider(): TranslatorOption

Uses CoreFactory.newLocaleOrderDecider as LocaleOrderDecider.

withLocaleOrderDecider

abstract fun withLocaleOrderDecider(localeOrderDecider: <ERROR CLASS>): TranslatorOption

Uses localeOrderDecider as LocaleOrderDecider.

Companion Object Functions

create

fun create(translationSupplier: <ERROR CLASS>): LocaleOrderDeciderOption

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.