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 Object
- Author:
- Thorben Lindhauer, Daniel Meyer, Michael Scholz, Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected MessageCorrelationBuilderImplbuilderprotected booleandeserializeVariableValuesprotected StringmessageNameprotected booleanvariablesEnabledprotected ExecutionVariableSnapshotObservervariablesListener
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder)Initialize the command with a builderprotectedAbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder, boolean variablesEnabled, boolean deserializeVariableValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckAuthorization(CorrelationHandlerResult correlation)protected MessageCorrelationResultImplcreateMessageCorrelationResult(CommandContext commandContext, CorrelationHandlerResult handlerResult)protected ExecutionEntityfindProcessInstanceExecution(CommandContext commandContext, CorrelationHandlerResult handlerResult)protected ProcessInstanceinstantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult)protected org.camunda.bpm.engine.variable.VariableMapresolveStartVariables()protected voidtriggerExecution(CommandContext commandContext, CorrelationHandlerResult correlationResult)
-
-
-
Field Detail
-
messageName
protected final 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 org.camunda.bpm.engine.variable.VariableMap resolveStartVariables()
-
-