Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62889

ParameterDefinition check for validity

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:
    • Released As:
      Jenkins 2.244

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              Created:
              Updated:
              Resolved: