interface AssertionGroupDescriptionAndEmptyRepresentationOption<out T : AssertionGroupType, R>
(source)
Option step which allows to specify the AssertionGroup.description -- Text.EMPTY is used as AssertionGroup.representation.
abstract val groupType: T
The previously defined AssertionGroup.type. |
open fun withDescription(description: String): R
Wraps the given description into an Untranslatable and uses it as AssertionGroup.description and uses Text.EMPTY as AssertionGroup.representation. abstract fun withDescription(description: Translatable): R
Uses the given description as AssertionGroup.description and Text.EMPTY as AssertionGroup.representation. |
fun <T : AssertionGroupType, R> create(type: T, factory: (T, Translatable, Any) -> R): AssertionGroupDescriptionAndEmptyRepresentationOption<T, R>
Factory method to create a AssertionGroupDescriptionAndEmptyRepresentationOption step in the building process of an AssertionGroup. |