Package org.activiti.engine.impl.cmd
Class MessageEventReceivedCmd
- java.lang.Object
-
- org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd<java.lang.Void>
-
- org.activiti.engine.impl.cmd.MessageEventReceivedCmd
-
- All Implemented Interfaces:
java.io.Serializable
,Command<java.lang.Void>
public class MessageEventReceivedCmd extends NeedsActiveExecutionCmd<java.lang.Void>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
async
protected java.lang.String
messageName
protected java.util.Map<java.lang.String,java.lang.Object>
payload
-
Fields inherited from class org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd
executionId
-
-
Constructor Summary
Constructors Constructor Description MessageEventReceivedCmd(java.lang.String messageName, java.lang.String executionId, boolean async)
MessageEventReceivedCmd(java.lang.String messageName, java.lang.String executionId, java.util.Map<java.lang.String,java.lang.Object> processVariables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Void
execute(CommandContext commandContext, ExecutionEntity execution)
Subclasses should implement this method.-
Methods inherited from class org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd
execute, getSuspendedExceptionMessage
-
-
-
-
Constructor Detail
-
MessageEventReceivedCmd
public MessageEventReceivedCmd(java.lang.String messageName, java.lang.String executionId, java.util.Map<java.lang.String,java.lang.Object> processVariables)
-
MessageEventReceivedCmd
public MessageEventReceivedCmd(java.lang.String messageName, java.lang.String executionId, boolean async)
-
-
Method Detail
-
execute
protected java.lang.Void execute(CommandContext commandContext, ExecutionEntity execution)
Description copied from class:NeedsActiveExecutionCmd
Subclasses should implement this method. The providedExecutionEntity
is guaranteed to be active (ie. not suspended).- Specified by:
execute
in classNeedsActiveExecutionCmd<java.lang.Void>
-
-