com.atlassian.bamboo.notification.recipients
Class CommitterRecipient

java.lang.Object
  extended by com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
      extended by com.atlassian.bamboo.notification.recipients.CommitterRecipient
All Implemented Interfaces:
NotificationRecipient, java.lang.Comparable

public class CommitterRecipient
extends AbstractNotificationRecipient

Represents a notification recipient for whoever has committed to a build Only relevant for a build completed notification related events.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
notificationRecipientModuleDescriptor
 
Constructor Summary
CommitterRecipient()
           
 
Method Summary
 java.util.List<NotificationTransport> getTransports()
          Evaluates the appropriate mediums for sending notificaions for this recipient, returning a list of appropriate transports.
 java.lang.String getViewHtml()
          Returns the HTML representing the notification type for the notification
 void setCommits(java.util.Set<Commit> commits)
           
 void setNotificationFactory(NotificationFactory notificationFactory)
           
 
Methods inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
compareTo, getDescription, getEditHtml, getKey, getModuleDescriptor, getParam, getRecipientConfig, init, init, populate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommitterRecipient

public CommitterRecipient()
Method Detail

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.

Returns:

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)

setCommits

public void setCommits(java.util.Set<Commit> commits)


Copyright © 2011 Atlassian. All Rights Reserved.