Class LineExternalMessageBuilder
java.lang.Object
com.flowable.engage.external.system.common.BaseExternalMessageBuilder
com.flowable.engage.external.system.line.LineExternalMessageBuilder
- All Implemented Interfaces:
ExternalMessageBuilder
- Author:
- Filip Hrisafov
-
Field Summary
FieldsFields inherited from class com.flowable.engage.external.system.common.BaseExternalMessageBuilder
businessAccountId, externalUserId, message, messageId -
Constructor Summary
ConstructorsConstructorDescriptionLineExternalMessageBuilder(LineJmsExternalConversationSystemAdapter lineJmsExternalConversationSystemAdapter) -
Method Summary
Modifier and TypeMethodDescriptionprotected OutboundMessageDtoprotected voidsendOutboundMessage(OutboundMessageDto outboundMessage) protected StringThis method is invoked when the content for the outbound message is create.Methods inherited from class com.flowable.engage.external.system.common.BaseExternalMessageBuilder
businessAccountId, checkBeforeSend, createOutboundMessage, externalUserId, message, messageId, sendMediaMessage, sendMessage
-
Field Details
-
lineJmsExternalConversationSystemAdapter
-
-
Constructor Details
-
LineExternalMessageBuilder
public LineExternalMessageBuilder(LineJmsExternalConversationSystemAdapter lineJmsExternalConversationSystemAdapter)
-
-
Method Details
-
newOutboundMessageDto
- Overrides:
newOutboundMessageDtoin classBaseExternalMessageBuilder
-
sendOutboundMessage
- Specified by:
sendOutboundMessagein classBaseExternalMessageBuilder
-
validateAndCreateMessageContent
Description copied from class:BaseExternalMessageBuilderThis method is invoked when the content for the outbound message is create. It can be used to perform validations and to modify the content if it is required. By default this methods appends the display name to the message.- Overrides:
validateAndCreateMessageContentin classBaseExternalMessageBuilder- Parameters:
type- the type of the message for which the content is being created- Returns:
- the content that should be used to send the message
-