Class ImTransport
- java.lang.Object
-
- com.atlassian.bamboo.notification.transports.ImTransport
-
- All Implemented Interfaces:
NotificationTransport
@ThreadSafe public class ImTransport extends 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
Constructors Constructor Description ImTransport(String imAddress, BambooSmackClient bambooSmackClient, PlanManager planManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object obj)
boolean
equals(Object o)
String
getImAddress()
int
hashCode()
void
sendNotification(@NotNull Notification notification)
Send off the notification of this transport type.
-
-
-
Constructor Detail
-
ImTransport
public ImTransport(String imAddress, BambooSmackClient bambooSmackClient, PlanManager planManager)
-
-
Method Detail
-
sendNotification
public void sendNotification(@NotNull @NotNull Notification notification)
Description copied from interface:NotificationTransport
Send off the notification of this transport type.- Specified by:
sendNotification
in interfaceNotificationTransport
- Parameters:
notification
- object (used to generate notification content)
-
getImAddress
public String getImAddress()
-
compareTo
public int compareTo(Object obj)
-
-