org.camunda.bpm.engine.impl.runtime
Class MessageCorrelationResult
java.lang.Object
org.camunda.bpm.engine.impl.runtime.MessageCorrelationResult
public class MessageCorrelationResult
- 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.
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_EXECUTION
public static final String TYPE_EXECUTION
- signifies a message correlated to an execution
- See Also:
- Constant Field Values
TYPE_PROCESS_DEFINITION
public static final String TYPE_PROCESS_DEFINITION
- signifies a message correlated to a process definition
- See Also:
- Constant Field Values
resultType
protected String resultType
- See Also:
TYPE_EXECUTION,
TYPE_PROCESS_DEFINITION
executionEntity
protected ExecutionEntity executionEntity
processDefinitionEntity
protected ProcessDefinitionEntity processDefinitionEntity
startEventActivityId
protected String startEventActivityId
MessageCorrelationResult
public MessageCorrelationResult()
matchedExecution
public static MessageCorrelationResult matchedExecution(ExecutionEntity executionEntity)
matchedProcessDefinition
public static MessageCorrelationResult matchedProcessDefinition(ProcessDefinitionEntity processDefinitionEntity,
String startEventActivityId)
getExecutionEntity
public ExecutionEntity getExecutionEntity()
getProcessDefinitionEntity
public ProcessDefinitionEntity getProcessDefinitionEntity()
getStartEventActivityId
public String getStartEventActivityId()
getResultType
public String getResultType()
Copyright © 2015 camunda services GmbH. All rights reserved.