public class ResponsibleRecipient extends AbstractNotificationRecipient implements NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.RequiresEvent, NotificationRecipient.UserRecipientExpandable
NotificationRecipient.RequiresEvent, NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.Scope, NotificationRecipient.UserRecipientExpandablenotificationRecipientModuleDescriptor| Constructor and Description |
|---|
ResponsibleRecipient() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<NotificationTransport> |
getTransports()
Evaluates the appropriate mediums for sending notifications for this recipient,
returning a list of appropriate transports.
|
@NotNull Set<UserRecipient> |
getUserRecipients() |
@NotNull 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 @NotNull Set<UserRecipient> getUserRecipients()
getUserRecipients in interface NotificationRecipient.UserRecipientExpandable@NotNull public @NotNull List<NotificationTransport> getTransports()
NotificationRecipientgetTransports in interface NotificationRecipientpublic void setPlan(ImmutablePlan plan)
setPlan in interface NotificationRecipient.RequiresPlanpublic void setResultsSummary(ResultsSummary resultsSummary)
setResultsSummary in interface NotificationRecipient.RequiresResultSummarypublic void setEvent(com.atlassian.event.Event event)
setEvent in interface NotificationRecipient.RequiresEvent@NotNull public @NotNull String getViewHtml()
NotificationRecipientgetViewHtml in interface NotificationRecipientgetViewHtml in class AbstractNotificationRecipient@Deprecated public void setNotificationFactory(NotificationFactory notificationFactory)
@Deprecated public void setTrackingEntryManager(TrackingEntryManager trackingEntryManager)
@Deprecated public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.