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

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

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

Evaluates the decision table with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken.

Author:
Kristin Polenz

Field Summary
protected  String decisionDefinitionId
           
protected  String decisionDefinitionKey
           
protected  String decisionDefinitionTenantId
           
protected  boolean isTenandIdSet
           
protected  org.camunda.bpm.engine.variable.VariableMap variables
           
protected  Integer version
           
 
Constructor Summary
EvaluateDecisionTableCmd(DecisionTableEvaluationBuilderImpl builder)
           
 
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 findById(DeploymentCache deploymentCache)
           
protected  DecisionDefinition findByKey(DeploymentCache deploymentCache)
           
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

decisionDefinitionId

protected String decisionDefinitionId

version

protected Integer version

variables

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

decisionDefinitionTenantId

protected String decisionDefinitionTenantId

isTenandIdSet

protected boolean isTenandIdSet
Constructor Detail

EvaluateDecisionTableCmd

public EvaluateDecisionTableCmd(DecisionTableEvaluationBuilderImpl builder)
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)

findById

protected DecisionDefinition findById(DeploymentCache deploymentCache)

findByKey

protected DecisionDefinition findByKey(DeploymentCache deploymentCache)


Copyright © 2016 camunda services GmbH. All rights reserved.