Interface ISlackNotificationUtils


public interface ISlackNotificationUtils
Utility bean used to change Slack notification mapping and post function options at notification time.
Author:
Fernando Boucquez
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

      void setChannel(String channelIdOrName)
      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

      void enableActions(long profileId, String catchEmailAddress)
      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

      void setProfileId(Long profileId)
      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

      void setCatchEmailAddress(String catchEmailAddress)
      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.