public class DefaultExternalMessageSendHelper extends Object implements ExternalMessageSendHelper
Constructor and Description |
---|
DefaultExternalMessageSendHelper() |
Modifier and Type | Method and Description |
---|---|
protected String |
addHeadlineToContent(com.flowable.core.idm.api.PlatformUser sender,
String content,
org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
Add a headline to the message content.
|
String |
getMessageContent(Message message,
org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
Returns the message content that will be sent to the external user.
|
public String getMessageContent(Message message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
ExternalMessageSendHelper
getMessageContent
in interface ExternalMessageSendHelper
protected String addHeadlineToContent(com.flowable.core.idm.api.PlatformUser sender, String content, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
sender
- the sender of the messagecontent
- the message contentcommandContext
- the command context that can be used to fetch dataCopyright © 2019. All rights reserved.