• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • 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.

          [JENKINS-62889] ParameterDefinition check for validity

          Jeff Thompson created issue -
          Jeff Thompson made changes -
          Assignee New: Jeff Thompson [ jthompson ]
          Oleg Nenashev made changes -
          Released As New: Jenkins 2.244
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            jthompson Jeff Thompson
            jthompson Jeff Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: