com.atlassian.bamboo.notification.transports
Class TextEmailTransport
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TextEmailTransport
public TextEmailTransport(java.lang.String emailAddress,
com.atlassian.event.EventManager eventManager)
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 © 2011 Atlassian. All Rights Reserved.