org.camunda.bpm.engine.impl.dmn.cmd
Class EvaluateDecisionByKeyCmd
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decisionDefinitionKey
protected String decisionDefinitionKey
version
protected Integer version
variables
protected org.camunda.bpm.engine.variable.VariableMap variables
EvaluateDecisionByKeyCmd
public EvaluateDecisionByKeyCmd(String decisionDefinitionKey,
Integer version,
Map<String,Object> variables)
EvaluateDecisionByKeyCmd
public EvaluateDecisionByKeyCmd(String decisionDefinitionKey,
Map<String,Object> variables)
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 © 2015 camunda services GmbH. All rights reserved.