public class CorrelationHandlerResult extends 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
.
Modifier and Type | Field and Description |
---|---|
protected ExecutionEntity |
executionEntity |
protected ProcessDefinitionEntity |
processDefinitionEntity |
protected MessageCorrelationResultType |
resultType |
protected String |
startEventActivityId |
Constructor and Description |
---|
CorrelationHandlerResult() |
Modifier and Type | Method and Description |
---|---|
Execution |
getExecution() |
ExecutionEntity |
getExecutionEntity() |
ProcessDefinition |
getProcessDefinition() |
ProcessDefinitionEntity |
getProcessDefinitionEntity() |
MessageCorrelationResultType |
getResultType() |
String |
getStartEventActivityId() |
static CorrelationHandlerResult |
matchedExecution(ExecutionEntity executionEntity) |
static CorrelationHandlerResult |
matchedProcessDefinition(ProcessDefinitionEntity processDefinitionEntity,
String startEventActivityId) |
protected MessageCorrelationResultType resultType
protected ExecutionEntity executionEntity
protected ProcessDefinitionEntity processDefinitionEntity
protected String startEventActivityId
public static CorrelationHandlerResult matchedExecution(ExecutionEntity executionEntity)
public static CorrelationHandlerResult matchedProcessDefinition(ProcessDefinitionEntity processDefinitionEntity, String startEventActivityId)
public ExecutionEntity getExecutionEntity()
public ProcessDefinitionEntity getProcessDefinitionEntity()
public String getStartEventActivityId()
public MessageCorrelationResultType getResultType()
public Execution getExecution()
public ProcessDefinition getProcessDefinition()
Copyright © 2019. All rights reserved.