org.camunda.bpm.engine.impl.runtime
Class MessageCorrelationResultImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.runtime.MessageCorrelationResultImpl
All Implemented Interfaces:
MessageCorrelationResult

public class MessageCorrelationResultImpl
extends Object
implements MessageCorrelationResult

Author:
Christopher Zell

Field Summary
protected  Execution execution
           
protected  ProcessInstance processInstance
           
protected  MessageCorrelationResultType resultType
           
 
Constructor Summary
MessageCorrelationResultImpl(CorrelationHandlerResult handlerResult)
           
 
Method Summary
 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.
 void setProcessInstance(ProcessInstance processInstance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

execution

protected final Execution execution

resultType

protected final MessageCorrelationResultType resultType

processInstance

protected ProcessInstance processInstance
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 interface MessageCorrelationResult
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 interface MessageCorrelationResult
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 interface MessageCorrelationResult
Returns:
the result type of the message correlation result
See Also:
MessageCorrelationResultType}


Copyright © 2016 camunda services GmbH. All rights reserved.