Class DefaultExternalMessageSendHelper
- java.lang.Object
-
- com.flowable.engage.engine.impl.message.DefaultExternalMessageSendHelper
-
- All Implemented Interfaces:
ExternalMessageSendHelper
public class DefaultExternalMessageSendHelper extends Object implements ExternalMessageSendHelper
- Author:
- Simon Amport, Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description DefaultExternalMessageSendHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
addHeadlineToContent(PlatformUser sender, String content, CommandContext commandContext)
Add a headline to the message content.String
getMessageContent(Message message, CommandContext commandContext)
Returns the message content that will be sent to the external user.
-
-
-
Method Detail
-
getMessageContent
public String getMessageContent(Message message, CommandContext commandContext)
Description copied from interface:ExternalMessageSendHelper
Returns the message content that will be sent to the external user.- Specified by:
getMessageContent
in interfaceExternalMessageSendHelper
- Returns:
-
addHeadlineToContent
protected String addHeadlineToContent(PlatformUser sender, String content, CommandContext commandContext)
Add a headline to the message content.- Parameters:
sender
- the sender of the messagecontent
- the message contentcommandContext
- the command context that can be used to fetch data- Returns:
-
-