org.camunda.bpm.engine.impl.dmn.cmd
Class EvaluateDecisionByKeyCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.dmn.cmd.EvaluateDecisionByKeyCmd
All Implemented Interfaces:
Command<org.camunda.bpm.dmn.engine.DmnDecisionTableResult>

public class EvaluateDecisionByKeyCmd
extends Object
implements Command<org.camunda.bpm.dmn.engine.DmnDecisionTableResult>

Evaluates the decision with the given key and version. If no version is provided then the latest version is taken.

Author:
Philipp Ossler

Field Summary
protected  String decisionDefinitionKey
           
protected  org.camunda.bpm.engine.variable.VariableMap variables
           
protected  Integer version
           
 
Constructor Summary
EvaluateDecisionByKeyCmd(String decisionDefinitionKey, Integer version, Map<String,Object> variables)
           
EvaluateDecisionByKeyCmd(String decisionDefinitionKey, Map<String,Object> variables)
           
 
Method Summary
protected  org.camunda.bpm.dmn.engine.DmnDecisionTableResult doEvaluateDecision(DecisionDefinition decisionDefinition, org.camunda.bpm.engine.variable.VariableMap variables)
           
 org.camunda.bpm.dmn.engine.DmnDecisionTableResult execute(CommandContext commandContext)
           
protected  DecisionDefinition getDecisionDefinition(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decisionDefinitionKey

protected String decisionDefinitionKey

version

protected Integer version

variables

protected org.camunda.bpm.engine.variable.VariableMap variables
Constructor Detail

EvaluateDecisionByKeyCmd

public EvaluateDecisionByKeyCmd(String decisionDefinitionKey,
                                Integer version,
                                Map<String,Object> variables)

EvaluateDecisionByKeyCmd

public EvaluateDecisionByKeyCmd(String decisionDefinitionKey,
                                Map<String,Object> variables)
Method Detail

execute

public org.camunda.bpm.dmn.engine.DmnDecisionTableResult execute(CommandContext commandContext)
Specified by:
execute in interface Command<org.camunda.bpm.dmn.engine.DmnDecisionTableResult>

doEvaluateDecision

protected org.camunda.bpm.dmn.engine.DmnDecisionTableResult doEvaluateDecision(DecisionDefinition decisionDefinition,
                                                                               org.camunda.bpm.engine.variable.VariableMap variables)

getDecisionDefinition

protected DecisionDefinition getDecisionDefinition(CommandContext commandContext)


Copyright © 2016 camunda services GmbH. All rights reserved.