-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
1.41
Hi,
It would be a plus to allow some plugins to contribute to the parameters section of the job DSL, in case they provide additional types of parameters.
Looking at the code (1.41), I see that the BuildParametersContext class stores the nodes to be created as a map (in order to guarantee uniqueness of parameter names I assume). This does make this easy to make this class extend the AbstractExtensibleContext and to implement the addExtensionNode method.
Can we safely assume that the node would have a name field, so we can index it? That would allow for an easy implementation.
Best regards,
Damien.