com.atlassian.bamboo.brokenbuildtracker.notifications
Class ResponsibleRecipient

java.lang.Object
  extended by com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
      extended by com.atlassian.bamboo.brokenbuildtracker.notifications.ResponsibleRecipient
All Implemented Interfaces:
NotificationRecipient, NotificationRecipient.RequiresEvent, NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.UserRecipientExpandable, java.lang.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.UserRecipientExpandable
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
notificationRecipientModuleDescriptor
 
Constructor Summary
ResponsibleRecipient()
           
 
Method Summary
 java.util.List<NotificationTransport> getTransports()
          Evaluates the appropriate mediums for sending notificaions for this recipient, returning a list of appropriate transports.
 java.util.Set<UserRecipient> getUserRecipients()
           
 java.lang.String getViewHtml()
          Returns the HTML representing the notification type for the notification
 void setEvent(com.atlassian.event.Event event)
           
 void setNotificationFactory(NotificationFactory notificationFactory)
           
 void setPlan(Plan plan)
           
 void setResultsSummary(ResultsSummary resultsSummary)
           
 void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
           
 void setTrackingEntryManager(TrackingEntryManager trackingEntryManager)
           
 
Methods inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
compareTo, getDescription, getEditHtml, getKey, getModuleDescriptor, getParam, getRecipientConfig, getTransports, init, init, populate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponsibleRecipient

public ResponsibleRecipient()
Method Detail

getUserRecipients

@NotNull
public java.util.Set<UserRecipient> getUserRecipients()
Specified by:
getUserRecipients in interface NotificationRecipient.UserRecipientExpandable

getTransports

@NotNull
public java.util.List<NotificationTransport> getTransports()
Description copied from interface: NotificationRecipient
Evaluates the appropriate mediums for sending notificaions for this recipient, returning a list of appropriate transports.

Specified by:
getTransports in interface NotificationRecipient
Returns:

setPlan

public void setPlan(Plan plan)
Specified by:
setPlan in interface NotificationRecipient.RequiresPlan

setResultsSummary

public void setResultsSummary(ResultsSummary resultsSummary)
Specified by:
setResultsSummary in interface NotificationRecipient.RequiresResultSummary

setEvent

public void setEvent(com.atlassian.event.Event event)
Specified by:
setEvent in interface NotificationRecipient.RequiresEvent

getViewHtml

@NotNull
public java.lang.String getViewHtml()
Description copied from interface: NotificationRecipient
Returns the HTML representing the notification type for the notification

Specified by:
getViewHtml in interface NotificationRecipient
Overrides:
getViewHtml in class AbstractNotificationRecipient
Returns:
HTML of data for view configuration. If this returns null the description will be used.

setNotificationFactory

public void setNotificationFactory(NotificationFactory notificationFactory)

setTrackingEntryManager

public void setTrackingEntryManager(TrackingEntryManager trackingEntryManager)

setResultsSummaryManager

public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.