public class Notification
extends java.lang.Object
| Constructor and Description |
|---|
Notification()
Constructor that is used when we want to initialize slack notifciation URL from some properties
|
Notification(java.lang.String channelUrl)
Constructor which is used when we know the channel URL exactly
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
send(SlackMessage message)
Sending the message
|
public Notification()
public Notification(java.lang.String channelUrl)
channelUrl - URL from income webkooks, i.e https://hooks.slack.com/services/T00000000/B0000000/HGBHWuJLDoJYtecT58hszOdtpublic java.lang.String send(SlackMessage message) throws NotificationException
message - message objectNotificationException