Class NotificationConfig.DescriptorImpl

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

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

    • NOTIFICATION_RECIPIENT_NO_ISSUES

      public static final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling NOTIFICATION_RECIPIENT_NO_ISSUES
    • NOTIFICATION_RECIPIENT_COMMENTED_ISSUES

      public static final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling NOTIFICATION_RECIPIENT_COMMENTED_ISSUES
    • NOTIFICATION_RECIPIENT_NEGATIVE_SCORE

      public static final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling NOTIFICATION_RECIPIENT_NEGATIVE_SCORE
    • NOTIFICATION_RECIPIENT_NO_ISSUES_STR

      public static final String NOTIFICATION_RECIPIENT_NO_ISSUES_STR
    • NOTIFICATION_RECIPIENT_COMMENTED_ISSUES_STR

      public static final String NOTIFICATION_RECIPIENT_COMMENTED_ISSUES_STR
    • NOTIFICATION_RECIPIENT_NEGATIVE_SCORE_STR

      public static final String NOTIFICATION_RECIPIENT_NEGATIVE_SCORE_STR
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • doCheckNoIssuesNotificationRecipient

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

    • doCheckCommentedIssuesNotificationRecipient

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

    • doCheckNegativeScoreNotificationRecipient

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