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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractCorrelateMessageCmd
Direct Known Subclasses:
CorrelateAllMessageCmd, CorrelateMessageCmd, CorrelateStartMessageCmd

public abstract class AbstractCorrelateMessageCmd
extends Object

Author:
Thorben Lindhauer, Daniel Meyer, Michael Scholz, Christopher Zell

Field Summary
protected  MessageCorrelationBuilderImpl builder
           
protected  String messageName
           
 
Constructor Summary
protected AbstractCorrelateMessageCmd(MessageCorrelationBuilderImpl builder)
          Initialize the command with a builder
 
Method Summary
protected  void checkAuthorization(CorrelationHandlerResult correlation)
           
protected  MessageCorrelationResult createMessageCorrelationResult(CommandContext commandContext, CorrelationHandlerResult handlerResult)
           
protected  ProcessInstance instantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult)
           
protected  void triggerExecution(CommandContext commandContext, CorrelationHandlerResult correlationResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messageName

protected final String messageName

builder

protected final MessageCorrelationBuilderImpl builder
Constructor Detail

AbstractCorrelateMessageCmd

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

Parameters:
builder -
Method Detail

triggerExecution

protected void triggerExecution(CommandContext commandContext,
                                CorrelationHandlerResult correlationResult)

instantiateProcess

protected ProcessInstance instantiateProcess(CommandContext commandContext,
                                             CorrelationHandlerResult correlationResult)

checkAuthorization

protected void checkAuthorization(CorrelationHandlerResult correlation)

createMessageCorrelationResult

protected MessageCorrelationResult createMessageCorrelationResult(CommandContext commandContext,
                                                                  CorrelationHandlerResult handlerResult)


Copyright © 2016 camunda services GmbH. All rights reserved.