com.atlassian.bamboo.notification.transports
Class TextEmailTransport

java.lang.Object
  extended by com.atlassian.bamboo.notification.transports.TextEmailTransport
All Implemented Interfaces:
NotificationTransport

@ThreadSafe
public class TextEmailTransport
extends java.lang.Object
implements NotificationTransport

Knows how to send text emails to the given email address.


Constructor Summary
TextEmailTransport(java.lang.String emailAddress, com.atlassian.event.EventManager eventManager)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getEmailAddress()
           
 int hashCode()
           
 void sendNotification(Notification notification)
          Send off the notification of this transport type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextEmailTransport

public TextEmailTransport(java.lang.String emailAddress,
                          com.atlassian.event.EventManager eventManager)
Method Detail

sendNotification

public void sendNotification(@NotNull
                             Notification notification)
Description copied from interface: NotificationTransport
Send off the notification of this transport type.

Specified by:
sendNotification in interface NotificationTransport
Parameters:
notification - object (used to generate notification content)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object obj)

getEmailAddress

public java.lang.String getEmailAddress()


Copyright © 2010 Atlassian. All Rights Reserved.