data class FeatureOptions<R>
Additional (non-mandatory) options for the FeatureExtractorBuilder to create an Expect.
FeatureOptions(description: Translatable? = null, representationInsteadOfFeature: ((R) -> Any)? = null)
Additional (non-mandatory) options for the FeatureExtractorBuilder to create an Expect. |
val description: Translatable?
Defines a custom description if not null. |
|
val representationInsteadOfFeature: ((R) -> Any)?
Defines a custom representation based on a present subject if not null. |
fun merge(options: FeatureOptions<R>): FeatureOptions<R>
Merges the given options with this object creating a new FeatureOptions where defined properties in options will have precedence over properties defined in this instance. |