public class WatcherRecipient extends AbstractNotificationRecipient implements NotificationRecipient.RequiresPlan, NotificationRecipient.UserRecipientExpandable
NotificationRecipient.RequiresEvent, NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.UserRecipientExpandable
notificationRecipientModuleDescriptor
Constructor and Description |
---|
WatcherRecipient() |
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 |
setLabelManager(LabelManager labelManager) |
void |
setNotificationFactory(NotificationFactory notificationFactory) |
void |
setPermissionManager(BambooPermissionManager permissionManager) |
void |
setPlan(ImmutablePlan plan) |
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 setLabelManager(LabelManager labelManager)
public void setPlan(@Nullable ImmutablePlan plan)
setPlan
in interface NotificationRecipient.RequiresPlan
public void setNotificationFactory(NotificationFactory notificationFactory)
public void setPermissionManager(BambooPermissionManager permissionManager)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.