Class CorrelationHandlerResult
- java.lang.Object
-
- org.camunda.bpm.engine.impl.runtime.CorrelationHandlerResult
-
public class CorrelationHandlerResult extends java.lang.Object
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
Fields Modifier and Type Field Description protected ExecutionEntity
executionEntity
protected ProcessDefinitionEntity
processDefinitionEntity
protected MessageCorrelationResultType
resultType
protected java.lang.String
startEventActivityId
-
Constructor Summary
Constructors Constructor Description CorrelationHandlerResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Execution
getExecution()
ExecutionEntity
getExecutionEntity()
ProcessDefinition
getProcessDefinition()
ProcessDefinitionEntity
getProcessDefinitionEntity()
MessageCorrelationResultType
getResultType()
java.lang.String
getStartEventActivityId()
static CorrelationHandlerResult
matchedExecution(ExecutionEntity executionEntity)
static CorrelationHandlerResult
matchedProcessDefinition(ProcessDefinitionEntity processDefinitionEntity, java.lang.String startEventActivityId)
-
-
-
Field Detail
-
resultType
protected MessageCorrelationResultType resultType
-
executionEntity
protected ExecutionEntity executionEntity
-
processDefinitionEntity
protected ProcessDefinitionEntity processDefinitionEntity
-
startEventActivityId
protected java.lang.String startEventActivityId
-
-
Method Detail
-
matchedExecution
public static CorrelationHandlerResult matchedExecution(ExecutionEntity executionEntity)
-
matchedProcessDefinition
public static CorrelationHandlerResult matchedProcessDefinition(ProcessDefinitionEntity processDefinitionEntity, java.lang.String startEventActivityId)
-
getExecutionEntity
public ExecutionEntity getExecutionEntity()
-
getProcessDefinitionEntity
public ProcessDefinitionEntity getProcessDefinitionEntity()
-
getStartEventActivityId
public java.lang.String getStartEventActivityId()
-
getResultType
public MessageCorrelationResultType getResultType()
-
getExecution
public Execution getExecution()
-
getProcessDefinition
public ProcessDefinition getProcessDefinition()
-
-