public class ResponsibleRecipient extends AbstractNotificationRecipient implements NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.RequiresEvent, NotificationRecipient.UserRecipientExpandable
NotificationRecipient.RequiresEvent, NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.Scope, NotificationRecipient.UserRecipientExpandable
notificationRecipientModuleDescriptor
Constructor and Description |
---|
ResponsibleRecipient() |
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 |
setEvent(com.atlassian.event.Event event) |
void |
setNotificationFactory(NotificationFactory notificationFactory)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setPlan(ImmutablePlan plan) |
void |
setResultsSummary(ResultsSummary resultsSummary) |
void |
setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setTrackingEntryManager(TrackingEntryManager trackingEntryManager)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
compareTo, getDescription, getEditHtml, getKey, getModuleDescriptor, getParam, getRecipientConfig, getScopes, getTransports, init, init, populate, validate
@NotNull public Set<UserRecipient> getUserRecipients()
getUserRecipients
in interface NotificationRecipient.UserRecipientExpandable
@NotNull public List<NotificationTransport> getTransports()
NotificationRecipient
getTransports
in interface NotificationRecipient
public void setPlan(ImmutablePlan plan)
setPlan
in interface NotificationRecipient.RequiresPlan
public void setResultsSummary(ResultsSummary resultsSummary)
setResultsSummary
in interface NotificationRecipient.RequiresResultSummary
public void setEvent(com.atlassian.event.Event event)
setEvent
in interface NotificationRecipient.RequiresEvent
@NotNull public String getViewHtml()
NotificationRecipient
getViewHtml
in interface NotificationRecipient
getViewHtml
in class AbstractNotificationRecipient
@Deprecated public void setNotificationFactory(NotificationFactory notificationFactory)
@Deprecated public void setTrackingEntryManager(TrackingEntryManager trackingEntryManager)
@Deprecated public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences