com.atlassian.bamboo.notification.transports
Class ImTransport
java.lang.Object
com.atlassian.bamboo.notification.transports.ImTransport
- All Implemented Interfaces:
- NotificationTransport
@ThreadSafe
public class ImTransport
- extends java.lang.Object
- implements NotificationTransport
Knows how to send IM messages to a specific imAddress. Also is responsible
for ensuring "talkback" context exist for the message
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ImTransport
public ImTransport(java.lang.String imAddress,
BambooSmackClient bambooSmackClient,
com.atlassian.event.EventManager eventManager,
BuildManager buildManager)
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)
getImAddress
public java.lang.String getImAddress()
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)
Copyright © 2010 Atlassian. All Rights Reserved.