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
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<NotificationTransport>
Evaluates the appropriate mediums for sending notifications for this recipient, returning a list of appropriate transports.@NotNull Set<UserRecipient>
@NotNull String
Returns the HTML representing the notification type for the notificationvoid
setEvent
(BambooEvent event) void
setNotificationFactory
(NotificationFactory notificationFactory) Deprecated.since 6.8 use constructor injection or annotation injectionvoid
setPlan
(ImmutablePlan plan) void
setResultsSummary
(ResultsSummary resultsSummary) void
setResultsSummaryManager
(ResultsSummaryManager resultsSummaryManager) Deprecated.since 6.8 use constructor injection or annotation injectionvoid
setTrackingEntryManager
(TrackingEntryManager trackingEntryManager) Deprecated.since 6.8 use constructor injection or annotation injectionMethods inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
compareTo, getDescription, getEditHtml, getKey, getModuleDescriptor, getParam, getRecipientConfig, getScopes, getTransports, init, init, populate, validate
-
Constructor Details
-
ResponsibleRecipient
public ResponsibleRecipient()
-
-
Method Details
-
getUserRecipients
- Specified by:
getUserRecipients
in interfaceNotificationRecipient.UserRecipientExpandable
-
getTransports
Description copied from interface:NotificationRecipient
Evaluates the appropriate mediums for sending notifications for this recipient, returning a list of appropriate transports.- Specified by:
getTransports
in interfaceNotificationRecipient
-
setPlan
- Specified by:
setPlan
in interfaceNotificationRecipient.RequiresPlan
-
setResultsSummary
- Specified by:
setResultsSummary
in interfaceNotificationRecipient.RequiresResultSummary
-
setEvent
- Specified by:
setEvent
in interfaceNotificationRecipient.RequiresEvent
-
getViewHtml
Description copied from interface:NotificationRecipient
Returns the HTML representing the notification type for the notification- Specified by:
getViewHtml
in interfaceNotificationRecipient
- Overrides:
getViewHtml
in classAbstractNotificationRecipient
- Returns:
- HTML of data for view configuration. If this returns null the description will be used.
-
setNotificationFactory
Deprecated.since 6.8 use constructor injection or annotation injection -
setTrackingEntryManager
Deprecated.since 6.8 use constructor injection or annotation injection -
setResultsSummaryManager
Deprecated.since 6.8 use constructor injection or annotation injection
-