Package org.camunda.bpm.engine.impl.cmd
Class AbstractCorrelateMessageCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractCorrelateMessageCmd
- Direct Known Subclasses:
CorrelateAllMessageCmd
,CorrelateMessageCmd
- Author:
- Thorben Lindhauer, Daniel Meyer, Michael Scholz, Christopher Zell
-
Field Summary
Modifier and TypeFieldDescriptionprotected final MessageCorrelationBuilderImpl
protected boolean
protected final String
protected long
protected boolean
protected ExecutionVariableSnapshotObserver
-
Constructor Summary
ModifierConstructorDescriptionprotected
Initialize the command with a builderprotected
AbstractCorrelateMessageCmd
(MessageCorrelationBuilderImpl builder, boolean variablesEnabled, boolean deserializeVariableValues) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkAuthorization
(CorrelationHandlerResult correlation) protected void
protected MessageCorrelationResultImpl
createMessageCorrelationResult
(CommandContext commandContext, CorrelationHandlerResult handlerResult) protected ExecutionEntity
findProcessInstanceExecution
(CommandContext commandContext, CorrelationHandlerResult handlerResult) protected ProcessInstance
instantiateProcess
(CommandContext commandContext, CorrelationHandlerResult correlationResult) protected VariableMap
protected void
triggerExecution
(CommandContext commandContext, CorrelationHandlerResult correlationResult)
-
Field Details
-
messageName
-
builder
-
variablesListener
-
variablesInResultEnabled
protected boolean variablesInResultEnabled -
variablesCount
protected long variablesCount -
deserializeVariableValues
protected boolean deserializeVariableValues
-
-
Constructor Details
-
AbstractCorrelateMessageCmd
Initialize the command with a builder- Parameters:
builder
-
-
AbstractCorrelateMessageCmd
protected AbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder, boolean variablesEnabled, boolean deserializeVariableValues)
-
-
Method Details
-
triggerExecution
protected void triggerExecution(CommandContext commandContext, CorrelationHandlerResult correlationResult) -
instantiateProcess
protected ProcessInstance instantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult) -
checkAuthorization
-
createMessageCorrelationResult
protected MessageCorrelationResultImpl createMessageCorrelationResult(CommandContext commandContext, CorrelationHandlerResult handlerResult) -
findProcessInstanceExecution
protected ExecutionEntity findProcessInstanceExecution(CommandContext commandContext, CorrelationHandlerResult handlerResult) -
resolveVariables
-
countVariables
protected void countVariables()
-