org.camunda.bpm.dmn.engine.impl
Class DefaultDmnDecisionContext
java.lang.Object
org.camunda.bpm.dmn.engine.impl.DefaultDmnDecisionContext
public class DefaultDmnDecisionContext
- extends Object
Context which evaluates a decision on a given input
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final DmnEngineLogger LOG
COLLECT_HIT_POLICY
protected static final HitPolicyEntry COLLECT_HIT_POLICY
RULE_ORDER_HIT_POLICY
protected static final HitPolicyEntry RULE_ORDER_HIT_POLICY
evaluationListeners
protected final List<DmnDecisionEvaluationListener> evaluationListeners
evaluationHandlers
protected final Map<Class<? extends DmnDecisionLogic>,DmnDecisionLogicEvaluationHandler> evaluationHandlers
DefaultDmnDecisionContext
public DefaultDmnDecisionContext(DefaultDmnEngineConfiguration configuration)
evaluateDecision
public DmnDecisionResult evaluateDecision(DmnDecision decision,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
- Evaluate a decision with the given
VariableContext
- Parameters:
decision - the decision to evaluatevariableContext - the available variable context
- Returns:
- the result of the decision evaluation
buildVariableMapFromVariableContext
protected org.camunda.bpm.engine.variable.VariableMap buildVariableMapFromVariableContext(org.camunda.bpm.engine.variable.context.VariableContext variableContext)
buildDecisionTree
protected void buildDecisionTree(DmnDecision decision,
List<DmnDecision> requiredDecisions)
getDecisionEvaluationHandler
protected DmnDecisionLogicEvaluationHandler getDecisionEvaluationHandler(DmnDecision decision)
addResultToVariableContext
protected void addResultToVariableContext(DmnDecisionResult evaluatedResult,
org.camunda.bpm.engine.variable.VariableMap variableMap,
DmnDecision evaluatedDecision)
isDecisionTableWithCollectOrRuleOrderHitPolicy
protected boolean isDecisionTableWithCollectOrRuleOrderHitPolicy(DmnDecision evaluatedDecision)
generateDecisionEvaluationEvent
protected void generateDecisionEvaluationEvent(List<DmnDecisionLogicEvaluationEvent> evaluatedEvents)
Copyright © 2017 camunda services GmbH. All rights reserved.