Class DefaultExternalMessageSendHelper
java.lang.Object
com.flowable.engage.engine.impl.message.DefaultExternalMessageSendHelper
- All Implemented Interfaces:
ExternalMessageSendHelper
- Author:
- Simon Amport, Filip Hrisafov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
addHeadlineToContent
(PlatformUser sender, String content, CommandContext commandContext) Add a headline to the message content.getMessageContent
(Message message, CommandContext commandContext) Returns the message content that will be sent to the external user.
-
Constructor Details
-
DefaultExternalMessageSendHelper
public DefaultExternalMessageSendHelper()
-
-
Method Details
-
getMessageContent
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:
-