Class MessageCorrelationResultImpl
java.lang.Object
org.camunda.bpm.engine.impl.runtime.MessageCorrelationResultImpl
- All Implemented Interfaces:
MessageCorrelationResult
,MessageCorrelationResultWithVariables
public class MessageCorrelationResultImpl
extends Object
implements MessageCorrelationResultWithVariables
- Author:
- Christopher Zell <christopher.zell@camunda.com>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Execution
protected ProcessInstance
protected final MessageCorrelationResultType
protected VariableMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the execution entity on which the message was correlated to.Returns the process instance id on which the message was correlated to.Returns the result type of the message correlation result.Returns the process variables of the process instance on which the message was correlated to.void
setProcessInstance
(ProcessInstance processInstance) void
setVariables
(VariableMap variables)
-
Field Details
-
execution
-
resultType
-
processInstance
-
variables
-
-
Constructor Details
-
MessageCorrelationResultImpl
-
-
Method Details
-
getExecution
Description copied from interface:MessageCorrelationResult
Returns the execution entity on which the message was correlated to.- Specified by:
getExecution
in interfaceMessageCorrelationResult
- Returns:
- the execution
-
getProcessInstance
Description copied from interface:MessageCorrelationResult
Returns the process instance id on which the message was correlated to.- Specified by:
getProcessInstance
in interfaceMessageCorrelationResult
- Returns:
- the process instance id
-
setProcessInstance
-
getResultType
Description copied from interface:MessageCorrelationResult
Returns the result type of the message correlation result. Indicates if either the message was correlated to a waiting execution or to a process definition like a start event.- Specified by:
getResultType
in interfaceMessageCorrelationResult
- Returns:
- the result type of the message correlation result
-
getVariables
Description copied from interface:MessageCorrelationResultWithVariables
Returns the process variables of the process instance on which the message was correlated to.- Specified by:
getVariables
in interfaceMessageCorrelationResultWithVariables
- Returns:
- the variable map of the process variables
-
setVariables
-