Package org.camunda.bpm.engine.impl.cmd
Class AbstractCorrelateMessageCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractCorrelateMessageCmd
-
- Direct Known Subclasses:
CorrelateAllMessageCmd
,CorrelateMessageCmd
public abstract class AbstractCorrelateMessageCmd extends java.lang.Object
- Author:
- Thorben Lindhauer, Daniel Meyer, Michael Scholz, Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected MessageCorrelationBuilderImpl
builder
protected boolean
deserializeVariableValues
protected java.lang.String
messageName
protected boolean
variablesEnabled
protected ExecutionVariableSnapshotObserver
variablesListener
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder)
Initialize the command with a builderprotected
AbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder, boolean variablesEnabled, boolean deserializeVariableValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkAuthorization(CorrelationHandlerResult correlation)
protected MessageCorrelationResultImpl
createMessageCorrelationResult(CommandContext commandContext, CorrelationHandlerResult handlerResult)
protected ExecutionEntity
findProcessInstanceExecution(CommandContext commandContext, CorrelationHandlerResult handlerResult)
protected ProcessInstance
instantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult)
protected VariableMap
resolveStartVariables()
protected void
triggerExecution(CommandContext commandContext, CorrelationHandlerResult correlationResult)
-
-
-
Field Detail
-
messageName
protected final java.lang.String messageName
-
builder
protected final MessageCorrelationBuilderImpl builder
-
variablesListener
protected ExecutionVariableSnapshotObserver variablesListener
-
variablesEnabled
protected boolean variablesEnabled
-
deserializeVariableValues
protected boolean deserializeVariableValues
-
-
Constructor Detail
-
AbstractCorrelateMessageCmd
protected AbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder)
Initialize the command with a builder- Parameters:
builder
-
-
AbstractCorrelateMessageCmd
protected AbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder, boolean variablesEnabled, boolean deserializeVariableValues)
-
-
Method Detail
-
triggerExecution
protected void triggerExecution(CommandContext commandContext, CorrelationHandlerResult correlationResult)
-
instantiateProcess
protected ProcessInstance instantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult)
-
checkAuthorization
protected void checkAuthorization(CorrelationHandlerResult correlation)
-
createMessageCorrelationResult
protected MessageCorrelationResultImpl createMessageCorrelationResult(CommandContext commandContext, CorrelationHandlerResult handlerResult)
-
findProcessInstanceExecution
protected ExecutionEntity findProcessInstanceExecution(CommandContext commandContext, CorrelationHandlerResult handlerResult)
-
resolveStartVariables
protected VariableMap resolveStartVariables()
-
-