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
-
-
Field Summary
Fields Modifier and Type Field Description protected Executionexecutionprotected ProcessInstanceprocessInstanceprotected MessageCorrelationResultTyperesultTypeprotected org.camunda.bpm.engine.variable.VariableMapvariables
-
Constructor Summary
Constructors Constructor Description MessageCorrelationResultImpl(CorrelationHandlerResult handlerResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutiongetExecution()Returns the execution entity on which the message was correlated to.ProcessInstancegetProcessInstance()Returns the process instance id on which the message was correlated to.MessageCorrelationResultTypegetResultType()Returns the result type of the message correlation result.org.camunda.bpm.engine.variable.VariableMapgetVariables()Returns the process variables of the process instance on which the message was correlated to.voidsetProcessInstance(ProcessInstance processInstance)voidsetVariables(org.camunda.bpm.engine.variable.VariableMap variables)
-
-
-
Field Detail
-
execution
protected final Execution execution
-
resultType
protected final MessageCorrelationResultType resultType
-
processInstance
protected ProcessInstance processInstance
-
variables
protected org.camunda.bpm.engine.variable.VariableMap variables
-
-
Constructor Detail
-
MessageCorrelationResultImpl
public MessageCorrelationResultImpl(CorrelationHandlerResult handlerResult)
-
-
Method Detail
-
getExecution
public Execution getExecution()
Description copied from interface:MessageCorrelationResultReturns the execution entity on which the message was correlated to.- Specified by:
getExecutionin interfaceMessageCorrelationResult- Returns:
- the execution
-
getProcessInstance
public ProcessInstance getProcessInstance()
Description copied from interface:MessageCorrelationResultReturns the process instance id on which the message was correlated to.- Specified by:
getProcessInstancein interfaceMessageCorrelationResult- Returns:
- the process instance id
-
setProcessInstance
public void setProcessInstance(ProcessInstance processInstance)
-
getResultType
public MessageCorrelationResultType getResultType()
Description copied from interface:MessageCorrelationResultReturns 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:
getResultTypein interfaceMessageCorrelationResult- Returns:
- the result type of the message correlation result
-
getVariables
public org.camunda.bpm.engine.variable.VariableMap getVariables()
Description copied from interface:MessageCorrelationResultWithVariablesReturns the process variables of the process instance on which the message was correlated to.- Specified by:
getVariablesin interfaceMessageCorrelationResultWithVariables- Returns:
- the variable map of the process variables
-
setVariables
public void setVariables(org.camunda.bpm.engine.variable.VariableMap variables)
-
-