withDescriptionAndRepresentation
open fun withDescriptionAndRepresentation(description: String, representation: Any?): SubjectChangerBuilder.TransformationStep<SubjectT>(source)
Uses the given description and representation to represent the change by delegating to the other overload which expects a Translatable instead of a String.
See the other overload for further information.
abstract fun withDescriptionAndRepresentation(description: Translatable, representation: Any?): SubjectChangerBuilder.TransformationStep<SubjectT>(source)
Uses the given description and representation to represent the change. Moreover, subsequent options in the building step allow to define rules when the change cannot be applied, in such a case an alternative description and representation might be used (depending on the implementation and chosen options).
Notice, if you want to use text (a String which is treated as raw string in reporting) as representation, then wrap it into a Text and pass it instead.