interface GroupTypeOption : ExplanatoryAssertionGroupTypeOption
(source)
Option step which allows to specify what ExplanatoryAssertionGroupType is used as AssertionGroup.type.
abstract val withDefaultType: AssertionsOption<DefaultExplanatoryAssertionGroupType, ExplanatoryGroup.FinalStep>
Builder to create an AssertionGroup with a DefaultExplanatoryAssertionGroupType. |
|
abstract val withWarningType: AssertionsOption<WarningAssertionGroupType, ExplanatoryGroup.FinalStep>
Builder to create an AssertionGroup with a WarningAssertionGroupType. |
abstract fun <T : ExplanatoryAssertionGroupType> withType(groupType: T): AssertionsOption<T, ExplanatoryGroup.FinalStep>
Builder to create an AssertionGroup with a custom ExplanatoryAssertionGroupType. |
fun create(): ExplanatoryGroup.GroupTypeOption
Factory method to create the GroupTypeOption step in the building process of an AssertionGroup with an ExplanatoryAssertionGroupType. |