Class DefaultExternalMessageSendHelper

java.lang.Object
com.flowable.engage.engine.impl.message.DefaultExternalMessageSendHelper
All Implemented Interfaces:
ExternalMessageSendHelper

public class DefaultExternalMessageSendHelper
extends java.lang.Object
implements ExternalMessageSendHelper
Author:
Simon Amport, Filip Hrisafov
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultExternalMessageSendHelper()  
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.String addHeadlineToContent​(com.flowable.core.idm.api.PlatformUser sender, java.lang.String content, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    Add a headline to the message content.
    java.lang.String getMessageContent​(Message message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    Returns the message content that will be sent to the external user.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getMessageContent

      public java.lang.String getMessageContent​(Message message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Description copied from interface: ExternalMessageSendHelper
      Returns the message content that will be sent to the external user.
      Specified by:
      getMessageContent in interface ExternalMessageSendHelper
      Returns:
    • addHeadlineToContent

      protected java.lang.String addHeadlineToContent​(com.flowable.core.idm.api.PlatformUser sender, java.lang.String content, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Add a headline to the message content.
      Parameters:
      sender - the sender of the message
      content - the message content
      commandContext - the command context that can be used to fetch data
      Returns: