Class ReviewConfig.DescriptorImpl

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

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

    • DEFAULT_COMMENT_TYPE

      public static final ReviewCommentType DEFAULT_COMMENT_TYPE
    • NO_ISSUES_TITLE_TEMPLATE

      public static final String NO_ISSUES_TITLE_TEMPLATE
    • SOME_ISSUES_TITLE_TEMPLATE

      public static final String SOME_ISSUES_TITLE_TEMPLATE
    • ISSUE_COMMENT_TEMPLATE

      public static final String ISSUE_COMMENT_TEMPLATE
    • ISSUE_OMIT_DUPLICATE_COMMENTS

      public static final boolean ISSUE_OMIT_DUPLICATE_COMMENTS
      See Also:
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getCommentTypeDisplayName

      public String getCommentTypeDisplayName(ReviewCommentType commentType)
    • doCheckNoIssuesTitleTemplate

      public FormValidation doCheckNoIssuesTitleTemplate(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'noIssuesTitleTemplate'.
      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.

    • doCheckSomeIssuesTitleTemplate

      public FormValidation doCheckSomeIssuesTitleTemplate(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'someIssuesTitleTemplate'.
      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.

    • doCheckIssueCommentTemplate

      public FormValidation doCheckIssueCommentTemplate(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'issueCommentTemplate'.
      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<ReviewConfig>