Class ScoreConfig.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<ScoreConfig>
org.jenkinsci.plugins.sonargerrit.gerrit.ScoreConfig.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
ScoreConfig

@Extension public static class ScoreConfig.DescriptorImpl extends Descriptor<ScoreConfig>
  • Field Details

    • CATEGORY

      public static final String CATEGORY
      See Also:
    • NO_ISSUES_SCORE

      public static final Integer NO_ISSUES_SCORE
    • SOME_ISSUES_SCORE

      public static final Integer SOME_ISSUES_SCORE
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • doCheckNoIssuesScore

      public FormValidation doCheckNoIssuesScore(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'noIssuesScore'.
      Parameters:
      value - This parameter receives the value that the user has typed.
      Returns:
      Indicates the outcome of the validation. This is sent to the browser.

      Note that returning FormValidation.error(String) does not prevent the form from being saved. It just means that a message will be displayed to the user.

    • doCheckIssuesScore

      public FormValidation doCheckIssuesScore(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'issuesScore'.
      Parameters:
      value - This parameter receives the value that the user has typed.
      Returns:
      Indicates the outcome of the validation. This is sent to the browser.

      Note that returning FormValidation.error(String) does not prevent the form from being saved. It just means that a message will be displayed to the user.

    • doCheckCategory

      public FormValidation doCheckCategory(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'category'.
      Parameters:
      value - This parameter receives the value that the user has typed.
      Returns:
      Indicates the outcome of the validation. This is sent to the browser.

      Note that returning FormValidation.error(String) does not prevent the form from being saved. It just means that a message will be displayed to the user.

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<ScoreConfig>