Class ResponsibleRecipient
- java.lang.Object
-
- com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
-
- com.atlassian.bamboo.brokenbuildtracker.notifications.ResponsibleRecipient
-
- All Implemented Interfaces:
NotificationRecipient,NotificationRecipient.RequiresEvent,NotificationRecipient.RequiresPlan,NotificationRecipient.RequiresResultSummary,NotificationRecipient.UserRecipientExpandable,BambooPluginModule,Comparable
public class ResponsibleRecipient extends AbstractNotificationRecipient implements NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.RequiresEvent, NotificationRecipient.UserRecipientExpandable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.NotificationRecipient
NotificationRecipient.RequiresEvent, NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.Scope, NotificationRecipient.UserRecipientExpandable
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
notificationRecipientModuleDescriptor
-
-
Constructor Summary
Constructors Constructor Description ResponsibleRecipient()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 StringgetViewHtml()Returns the HTML representing the notification type for the notificationvoidsetEvent(com.atlassian.event.Event event)voidsetNotificationFactory(NotificationFactory notificationFactory)Deprecated.since 6.8 use constructor injection or annotation injectionvoidsetPlan(ImmutablePlan plan)voidsetResultsSummary(ResultsSummary resultsSummary)voidsetResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)Deprecated.since 6.8 use constructor injection or annotation injectionvoidsetTrackingEntryManager(TrackingEntryManager trackingEntryManager)Deprecated.since 6.8 use constructor injection or annotation injection-
Methods inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
compareTo, getDescription, getEditHtml, getKey, getModuleDescriptor, getParam, getRecipientConfig, getScopes, getTransports, init, init, populate, validate
-
-
-
-
Method Detail
-
getUserRecipients
@NotNull public @NotNull Set<UserRecipient> getUserRecipients()
- Specified by:
getUserRecipientsin interfaceNotificationRecipient.UserRecipientExpandable
-
getTransports
@NotNull public @NotNull List<NotificationTransport> getTransports()
Description copied from interface:NotificationRecipientEvaluates the appropriate mediums for sending notifications for this recipient, returning a list of appropriate transports.- Specified by:
getTransportsin interfaceNotificationRecipient
-
setPlan
public void setPlan(ImmutablePlan plan)
- Specified by:
setPlanin interfaceNotificationRecipient.RequiresPlan
-
setResultsSummary
public void setResultsSummary(ResultsSummary resultsSummary)
- Specified by:
setResultsSummaryin interfaceNotificationRecipient.RequiresResultSummary
-
setEvent
public void setEvent(com.atlassian.event.Event event)
- Specified by:
setEventin interfaceNotificationRecipient.RequiresEvent
-
getViewHtml
@NotNull public @NotNull String getViewHtml()
Description copied from interface:NotificationRecipientReturns the HTML representing the notification type for the notification- Specified by:
getViewHtmlin interfaceNotificationRecipient- Overrides:
getViewHtmlin classAbstractNotificationRecipient- Returns:
- HTML of data for view configuration. If this returns null the description will be used.
-
setNotificationFactory
@Deprecated public void setNotificationFactory(NotificationFactory notificationFactory)
Deprecated.since 6.8 use constructor injection or annotation injection
-
setTrackingEntryManager
@Deprecated public void setTrackingEntryManager(TrackingEntryManager trackingEntryManager)
Deprecated.since 6.8 use constructor injection or annotation injection
-
setResultsSummaryManager
@Deprecated public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Deprecated.since 6.8 use constructor injection or annotation injection
-
-