-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
-
Jenkins 2.244
Add a simple API to ParameterDefinition by which a caller can validate a ParameterValue for that specific definition. This provides a mechanism to ensure that users cannot inject unrecognized values. This is particularly useful for things like ChoiceParameterDefinition, which process a value as a string, but should only allow a specific set of choices. Other types of ParameterDefinition can also make use of this when they need to validate a value.