I write Java plugin for sonarQube.
I need some properties to be configured.
So I added them via
public Plugin.Context addExtensions(Collection extensions)
I pass List of PropertyDefinition as it written in docs
#1. The problem is that I couldn’t extend PropertyDefinition to add custom validation as class PropertyDefinition is final. Could you advice how to achieve this goal or it is forbidden?
#2. The properties are global not per Project, could you advice what to use to configure custom properties per Project?