AbsaOSS/atum

Method `setAdditionalInfo` for `ControlMeasure` class

Closed this issue · 0 comments

Background

The Atum object has this useful function. But when working with ControlMeasure obtained via ControlMeasureBuilder adding addintional info is tedious

Feature

Create a method of the ControlMeasure and perhaps of ControlMeasureBuilder of one of the following signatures:

  • setAdditionalInfo(key: String, value: String, replaceIfExists: Boolean = false): ControlMeasure/ControlMeasureBuilder`
  • setAdditionalInfo(kv: (String, String, replaceIfExists: Boolean = false): ControlMeasure/ControlMeasureBuilder`
    that will add a new key-value pair to Metadata->AdditionalInfo map.