Package software.tnb.slack.account
Class SlackAccount
java.lang.Object
software.tnb.slack.account.SlackAccount
Requires following slack account definition:
slack-tnb:
credentials:
token: [token]
channels:
[identifier]:
name: [channelName] (optional, if not present, identifier is used)
webhook_url: [webhook url]
channel_id: [channel id]
...
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface software.tnb.common.account.WithId
SYSTEM_PROPERTY_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetChannels(Map<String, SlackAccount.ChannelAccount> channels) voidtoken()webhookUrl(String channelName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.tnb.common.account.Account
toProperties
-
Constructor Details
-
SlackAccount
public SlackAccount()
-
-
Method Details
-
credentialsId
- Specified by:
credentialsIdin interfaceWithId
-
token
-
setToken
-
channelId
-
webhookUrl
-
channel
-
setChannels
-