public class CommitterRecipient extends AbstractNotificationRecipient implements NotificationRecipient.RequiresResultSummary, NotificationRecipient.UserRecipientExpandable, NotificationRecipient.RequiresPlan
NotificationRecipient.RequiresEvent, NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.UserRecipientExpandable
notificationRecipientModuleDescriptor
Constructor and Description |
---|
CommitterRecipient() |
Modifier and Type | Method and Description |
---|---|
List<NotificationTransport> |
getTransports()
Evaluates the appropriate mediums for sending notifications for this recipient,
returning a list of appropriate transports.
|
Set<UserRecipient> |
getUserRecipients() |
String |
getViewHtml()
Returns the HTML representing the notification type for the notification
|
void |
setCommitManager(CommitManager commitManager) |
void |
setCommits(Set<? extends CommitContext> commits) |
void |
setNotificationFactory(NotificationFactory notificationFactory) |
void |
setPermissionManager(BambooPermissionManager permissionManager) |
void |
setPlan(ImmutablePlan plan) |
void |
setResultsSummary(ResultsSummary resultsSummary) |
compareTo, getDescription, getEditHtml, getKey, getModuleDescriptor, getParam, getRecipientConfig, getTransports, init, init, populate, validate
@NotNull public List<NotificationTransport> getTransports()
NotificationRecipient
getTransports
in interface NotificationRecipient
@NotNull public Set<UserRecipient> getUserRecipients()
getUserRecipients
in interface NotificationRecipient.UserRecipientExpandable
@NotNull public String getViewHtml()
NotificationRecipient
getViewHtml
in interface NotificationRecipient
getViewHtml
in class AbstractNotificationRecipient
public void setResultsSummary(@Nullable ResultsSummary resultsSummary)
setResultsSummary
in interface NotificationRecipient.RequiresResultSummary
public void setNotificationFactory(NotificationFactory notificationFactory)
public void setCommits(Set<? extends CommitContext> commits)
public void setPlan(@Nullable ImmutablePlan plan)
setPlan
in interface NotificationRecipient.RequiresPlan
public void setPermissionManager(BambooPermissionManager permissionManager)
public void setCommitManager(CommitManager commitManager)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.