Class NotificationConfig.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<NotificationConfig>
org.jenkinsci.plugins.sonargerrit.gerrit.NotificationConfig.DescriptorImpl
- Enclosing class:
- NotificationConfig
@Extension
public static class NotificationConfig.DescriptorImpl
extends Descriptor<NotificationConfig>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Modifier and TypeFieldDescriptionstatic final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
static final String
static final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
static final String
static final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
static final String
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPerforms on-the-fly validation of the form field 'commentedIssuesNotificationRecipient'.Performs on-the-fly validation of the form field 'negativeScoreNotificationRecipient'.Performs on-the-fly validation of the form field 'noIssuesNotificationRecipient'.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
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
-
NOTIFICATION_RECIPIENT_COMMENTED_ISSUES_STR
-
NOTIFICATION_RECIPIENT_NEGATIVE_SCORE_STR
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
doCheckNoIssuesNotificationRecipient
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
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
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
- Overrides:
getDisplayName
in classDescriptor<NotificationConfig>
-