SchweizerischeBundesbahnen / ch.sbb.polarion.extension.interceptor-manager

This Polarion extension provides possibility to run custom Java code (via hooks), before Polarion saves/deletes a Work Item, Document or Test Run.
4 stars 0 forks source link

Optional custom settings validation #92

Closed Jumas closed 2 months ago

Jumas commented 2 months ago

Discussed in https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager/discussions/88

Originally posted by **kschmiechen** August 15, 2024 To avoid invalid settings, the interceptor manager could call an optional method `String validateSettings(Map propertiesMap)` of the hook each time its settings are updated in the administration panel. The method returns `null` if the settings are valid and a `message` if the settings are invalid.
Jumas commented 2 months ago

Duplicates #91