interface ExplanationOption
Option step which allows to specify an ExplanatoryAssertion.explanation.
open fun open fun open fun |
|
open fun withExplanation(translatable: Translatable, arg: Any, vararg otherArgs: Any): Explanatory.FinalStep
Uses the given translatable together with the arg and optionally otherArgs to create an TranslatableWithArgs which is then used as ExplanatoryAssertion.explanation. open fun withExplanation(description: String): Explanatory.FinalStep
Uses the given description as explanation. open fun withExplanation(translatable: Translatable): Explanatory.FinalStep
Uses the given translatable as explanation. abstract fun withExplanation(explanation: Any?): Explanatory.FinalStep
Uses the given explanation as ExplanatoryAssertion.explanation. |
fun create(): Explanatory.ExplanationOption
Factory method to create the ExplanationOption step in the building process of an ExplanatoryAssertion. |