com.atlassian.bamboo.notification.transports
Class ImTransport

java.lang.Object
  extended by 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


Constructor Summary
ImTransport(java.lang.String imAddress, BambooSmackClient bambooSmackClient, com.atlassian.event.EventManager eventManager, PlanManager planManager)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getImAddress()
           
 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

ImTransport

public ImTransport(java.lang.String imAddress,
                   BambooSmackClient bambooSmackClient,
                   com.atlassian.event.EventManager eventManager,
                   PlanManager planManager)
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)

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 © 2011 Atlassian. All Rights Reserved.