interface AssertionGroupDescriptionAndEmptyRepresentationOption<out T : AssertionGroupType, R>
(source)
Option step which allows to specify the AssertionGroup.description -- RawString.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 RawString.EMPTY as AssertionGroup.representation. abstract fun withDescription(description: Translatable): R
Uses the given description as AssertionGroup.description and RawString.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. |