Package com.thepluginpeople.jemhod.api
Interface ISlackNotificationUtils
public interface ISlackNotificationUtils
Utility bean used to change Slack notification mapping and post function options at notification time.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enableActions
(long profileId, String catchEmailAddress) Enables Slack Actions so the Slack users can reply to a JEMHCloud message.void
Marks the notification as inhibited so no message will be delivery.void
setCatchEmailAddress
(String catchEmailAddress) Changes the catch email address used when processing a Slack action's reply message.void
setChannel
(String channelIdOrName) Changes the channel where the message will be sent.void
setProfileId
(Long profileId) Changes profile the used when processing Slack action's reply message
-
Method Details
-
setChannel
Changes the channel where the message will be sent.- Parameters:
channelIdOrName
- the new channel name or id.
-
inhibitNotification
void inhibitNotification()Marks the notification as inhibited so no message will be delivery. -
enableActions
Enables Slack Actions so the Slack users can reply to a JEMHCloud message.- Parameters:
profileId
- the id of the profile to be used when processing the reply message.catchEmailAddress
- the catch email address that must much the profile.
-
setProfileId
Changes profile the used when processing Slack action's reply message- Parameters:
profileId
- the id of the profile to be used when processing the reply message.
-
setCatchEmailAddress
Changes the catch email address used when processing a Slack action's reply message.- Parameters:
catchEmailAddress
- the catch email address that must much the profile.
-