Class CorrelationHandlerResult
java.lang.Object
org.camunda.bpm.engine.impl.runtime.CorrelationHandlerResult
The result of a message correlation. A message may be correlated to either
a waiting execution (BPMN receive message event) or a process definition
(BPMN message start event). The type of the correlation (execution vs.
processDefinition) can be obtained using getResultType()
Correlation is performed by a CorrelationHandler
.
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected ExecutionEntity
protected ProcessDefinitionEntity
protected MessageCorrelationResultType
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CorrelationHandlerResult
matchedExecution
(ExecutionEntity executionEntity) static CorrelationHandlerResult
matchedProcessDefinition
(ProcessDefinitionEntity processDefinitionEntity, String startEventActivityId)
-
Field Details
-
resultType
-
executionEntity
-
processDefinitionEntity
-
startEventActivityId
-
-
Constructor Details
-
CorrelationHandlerResult
public CorrelationHandlerResult()
-
-
Method Details
-
matchedExecution
-
matchedProcessDefinition
public static CorrelationHandlerResult matchedProcessDefinition(ProcessDefinitionEntity processDefinitionEntity, String startEventActivityId) -
getExecutionEntity
-
getProcessDefinitionEntity
-
getStartEventActivityId
-
getResultType
-
getExecution
-
getProcessDefinition
-