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
Fields Modifier and Type Field Description static me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
NOTIFICATION_RECIPIENT_COMMENTED_ISSUES
static String
NOTIFICATION_RECIPIENT_COMMENTED_ISSUES_STR
static me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
NOTIFICATION_RECIPIENT_NEGATIVE_SCORE
static String
NOTIFICATION_RECIPIENT_NEGATIVE_SCORE_STR
static me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
NOTIFICATION_RECIPIENT_NO_ISSUES
static String
NOTIFICATION_RECIPIENT_NO_ISSUES_STR
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCommentedIssuesNotificationRecipient(String value)
Performs on-the-fly validation of the form field 'commentedIssuesNotificationRecipient'.FormValidation
doCheckNegativeScoreNotificationRecipient(String value)
Performs on-the-fly validation of the form field 'negativeScoreNotificationRecipient'.FormValidation
doCheckNoIssuesNotificationRecipient(String value)
Performs on-the-fly validation of the form field 'noIssuesNotificationRecipient'.String
getDisplayName()
-
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 Detail
-
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
-
-
Method Detail
-
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 classDescriptor<NotificationConfig>
-
-