Class MessageCorrelationResultImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.runtime.MessageCorrelationResultImpl
-
- All Implemented Interfaces:
MessageCorrelationResult
,MessageCorrelationResultWithVariables
public class MessageCorrelationResultImpl extends java.lang.Object implements MessageCorrelationResultWithVariables
- Author:
- Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected Execution
execution
protected ProcessInstance
processInstance
protected MessageCorrelationResultType
resultType
protected VariableMap
variables
-
Constructor Summary
Constructors Constructor Description MessageCorrelationResultImpl(CorrelationHandlerResult handlerResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Execution
getExecution()
Returns the execution entity on which the message was correlated to.ProcessInstance
getProcessInstance()
Returns the process instance id on which the message was correlated to.MessageCorrelationResultType
getResultType()
Returns the result type of the message correlation result.VariableMap
getVariables()
Returns the process variables of the process instance on which the message was correlated to.void
setProcessInstance(ProcessInstance processInstance)
void
setVariables(VariableMap variables)
-
-
-
Field Detail
-
execution
protected final Execution execution
-
resultType
protected final MessageCorrelationResultType resultType
-
processInstance
protected ProcessInstance processInstance
-
variables
protected VariableMap variables
-
-
Constructor Detail
-
MessageCorrelationResultImpl
public MessageCorrelationResultImpl(CorrelationHandlerResult handlerResult)
-
-
Method Detail
-
getExecution
public Execution 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
public ProcessInstance 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
public void setProcessInstance(ProcessInstance processInstance)
-
getResultType
public MessageCorrelationResultType 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
public VariableMap 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
public void setVariables(VariableMap variables)
-
-