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 TypeMethodDescriptionvoidenableActions(long profileId, String catchEmailAddress) Enables Slack Actions so the Slack users can reply to a JEMHCloud message.voidMarks the notification as inhibited so no message will be delivery.voidsetCatchEmailAddress(String catchEmailAddress) Changes the catch email address used when processing a Slack action's reply message.voidsetChannel(String channelIdOrName) Changes the channel where the message will be sent.voidsetProfileId(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.
-