org.camunda.bpm.engine.impl.cmd
Class AbstractCorrelateMessageCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractCorrelateMessageCmd
All Implemented Interfaces:
Command<Void>
Direct Known Subclasses:
CorrelateAllMessageCmd, CorrelateMessageCmd

public abstract class AbstractCorrelateMessageCmd
extends Object
implements Command<Void>

Author:
Thorben Lindhauer, Daniel Meyer, Michael Scholz

Field Summary
protected  String businessKey
           
protected  Map<String,Object> correlationKeys
           
protected  boolean isExclusiveCorrelation
           
protected  String messageName
           
protected  String processInstanceId
           
protected  Map<String,Object> processVariables
           
 
Constructor Summary
protected AbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl messageCorrelationBuilderImpl)
          Initialize the command with a builder
protected AbstractCorrelateMessageCmd(String messageName, String businessKey, Map<String,Object> correlationKeys, Map<String,Object> processVariables)
           
 
Method Summary
protected  void checkAuthorization(MessageCorrelationResult correlation)
           
protected  void instantiateProcess(CommandContext commandContext, MessageCorrelationResult correlationResult)
           
protected  void triggerExecution(CommandContext commandContext, MessageCorrelationResult correlationResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
execute
 

Field Detail

messageName

protected final String messageName

businessKey

protected final String businessKey

correlationKeys

protected final Map<String,Object> correlationKeys

processVariables

protected final Map<String,Object> processVariables

processInstanceId

protected String processInstanceId

isExclusiveCorrelation

protected boolean isExclusiveCorrelation
Constructor Detail

AbstractCorrelateMessageCmd

protected AbstractCorrelateMessageCmd(String messageName,
                                      String businessKey,
                                      Map<String,Object> correlationKeys,
                                      Map<String,Object> processVariables)

AbstractCorrelateMessageCmd

protected AbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl messageCorrelationBuilderImpl)
Initialize the command with a builder

Parameters:
messageCorrelationBuilderImpl -
Method Detail

triggerExecution

protected void triggerExecution(CommandContext commandContext,
                                MessageCorrelationResult correlationResult)

instantiateProcess

protected void instantiateProcess(CommandContext commandContext,
                                  MessageCorrelationResult correlationResult)

checkAuthorization

protected void checkAuthorization(MessageCorrelationResult correlation)


Copyright © 2015 camunda services GmbH. All rights reserved.