Class SendExternalSystemMessageCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.SendExternalSystemMessageCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
public class SendExternalSystemMessageCmd
extends java.lang.Object
implements org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
messageId
protected java.lang.String
recipientAccountId
-
Constructor Summary
Constructors Constructor Description SendExternalSystemMessageCmd(java.lang.String recipientAccountId, java.lang.String messageId)
-
Method Summary
Modifier and Type Method Description java.lang.Void
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected ExternalConversationSystemAdapter
getAdapter(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, java.lang.String externalSystemId)
-
Field Details
-
recipientAccountId
protected final java.lang.String recipientAccountId -
messageId
protected final java.lang.String messageId
-
-
Constructor Details
-
SendExternalSystemMessageCmd
public SendExternalSystemMessageCmd(java.lang.String recipientAccountId, java.lang.String messageId)
-
-
Method Details
-
execute
public java.lang.Void execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
-
getAdapter
protected ExternalConversationSystemAdapter getAdapter(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, java.lang.String externalSystemId)
-