Community
Participate
Working Groups
Currently, Parameters can be passed to RuleApplications/UnitApplications via either: 1) setParameterValue(String, Object) 2) setParameterValues(Map<Parameter, Object>) (1) searches for a named Parameter and sets its value (2) has to be given the actual Parameter objects, which have to be created or extracted from the Rule/Unit first, making setting multiple Parameters at once somewhat cumbersome. I suggest introducing a new method to allow setting multiple parameters at once (as in (2), but using a Map<String,Object>), by just using their names, as in (1).
I replaced setParameterValues(Map<Parameter,Object>) with setParameterValues(Map<String,Object>). The former method was too cumbersome to use anyway.