Package org.operaton.bpm.engine.impl.cmd
Class AbstractCorrelateMessageCmd
java.lang.Object
org.operaton.bpm.engine.impl.cmd.AbstractCorrelateMessageCmd
- Direct Known Subclasses:
CorrelateAllMessageCmd,CorrelateMessageCmd
- Author:
- Thorben Lindhauer, Daniel Meyer, Michael Scholz, Christopher Zell
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MessageCorrelationBuilderImplprotected booleanprotected final Stringprotected longprotected booleanprotected ExecutionVariableSnapshotObserver -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInitialize the command with a builderprotectedAbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder, boolean variablesEnabled, boolean deserializeVariableValues) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckAuthorization(CorrelationHandlerResult correlation) protected voidprotected MessageCorrelationResultImplcreateMessageCorrelationResult(CommandContext commandContext, CorrelationHandlerResult handlerResult) protected ExecutionEntityfindProcessInstanceExecution(CommandContext commandContext, CorrelationHandlerResult handlerResult) protected ProcessInstanceinstantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult) protected VariableMapprotected voidtriggerExecution(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()
-