Class NotificationConfig
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<NotificationConfig>
-
- org.jenkinsci.plugins.sonargerrit.gerrit.NotificationConfig
-
- All Implemented Interfaces:
Describable<NotificationConfig>
public class NotificationConfig extends AbstractDescribableImpl<NotificationConfig>
Project: Sonar-Gerrit Plugin Author: Tatiana Didik Created: 09.11.2017 14:27 $Id$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotificationConfig.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description NotificationConfig()
NotificationConfig(String noIssuesNotificationRecipient, String commentedIssuesNotificationRecipient, String negativeScoreNotificationRecipient)
NotificationConfig(me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling noIssuesNotificationRecipient, me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling commentedIssuesNotificationRecipient, me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling negativeScoreNotificationRecipient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommentedIssuesNotificationRecipient()
NotificationConfig.DescriptorImpl
getDescriptor()
String
getNegativeScoreNotificationRecipient()
String
getNoIssuesNotificationRecipient()
void
setCommentedIssuesNotificationRecipient(String commentedIssuesNotificationRecipient)
void
setNegativeScoreNotificationRecipient(String negativeScoreNotificationRecipient)
void
setNoIssuesNotificationRecipient(String noIssuesNotificationRecipient)
-
-
-
Constructor Detail
-
NotificationConfig
public NotificationConfig(String noIssuesNotificationRecipient, String commentedIssuesNotificationRecipient, String negativeScoreNotificationRecipient)
-
NotificationConfig
public NotificationConfig(@Nonnull me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling noIssuesNotificationRecipient, @Nonnull me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling commentedIssuesNotificationRecipient, @Nonnull me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling negativeScoreNotificationRecipient)
-
NotificationConfig
@DataBoundConstructor public NotificationConfig()
-
-
Method Detail
-
setNoIssuesNotificationRecipient
@DataBoundSetter public void setNoIssuesNotificationRecipient(String noIssuesNotificationRecipient)
-
getCommentedIssuesNotificationRecipient
@Nonnull public String getCommentedIssuesNotificationRecipient()
-
setCommentedIssuesNotificationRecipient
@DataBoundSetter public void setCommentedIssuesNotificationRecipient(String commentedIssuesNotificationRecipient)
-
getNegativeScoreNotificationRecipient
@Nonnull public String getNegativeScoreNotificationRecipient()
-
setNegativeScoreNotificationRecipient
@DataBoundSetter public void setNegativeScoreNotificationRecipient(String negativeScoreNotificationRecipient)
-
getDescriptor
public NotificationConfig.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<NotificationConfig>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<NotificationConfig>
-
-