org.camunda.bpm.dmn.engine.impl.evaluation
Class DecisionLiteralExpressionEvaluationHandler

java.lang.Object
  extended by org.camunda.bpm.dmn.engine.impl.evaluation.DecisionLiteralExpressionEvaluationHandler
All Implemented Interfaces:
DmnDecisionLogicEvaluationHandler

public class DecisionLiteralExpressionEvaluationHandler
extends Object
implements DmnDecisionLogicEvaluationHandler


Field Summary
protected  ExpressionEvaluationHandler expressionEvaluationHandler
           
protected  String literalExpressionLanguage
           
 
Constructor Summary
DecisionLiteralExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration)
           
 
Method Summary
 DmnDecisionLogicEvaluationEvent evaluate(DmnDecision decision, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
          Evaluate a decision with the given VariableContext.
protected  Object evaluateLiteralExpression(DmnExpressionImpl expression, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
           
 DmnDecisionResult generateDecisionResult(DmnDecisionLogicEvaluationEvent event)
          Generates the decision evaluation result of the given event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expressionEvaluationHandler

protected final ExpressionEvaluationHandler expressionEvaluationHandler

literalExpressionLanguage

protected final String literalExpressionLanguage
Constructor Detail

DecisionLiteralExpressionEvaluationHandler

public DecisionLiteralExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration)
Method Detail

evaluate

public DmnDecisionLogicEvaluationEvent evaluate(DmnDecision decision,
                                                org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Description copied from interface: DmnDecisionLogicEvaluationHandler
Evaluate a decision with the given VariableContext.

Specified by:
evaluate in interface DmnDecisionLogicEvaluationHandler
Parameters:
decision - the decision to evaluate
variableContext - the available variable context
Returns:
the event which represents the evaluation

evaluateLiteralExpression

protected Object evaluateLiteralExpression(DmnExpressionImpl expression,
                                           org.camunda.bpm.engine.variable.context.VariableContext variableContext)

generateDecisionResult

public DmnDecisionResult generateDecisionResult(DmnDecisionLogicEvaluationEvent event)
Description copied from interface: DmnDecisionLogicEvaluationHandler
Generates the decision evaluation result of the given event.

Specified by:
generateDecisionResult in interface DmnDecisionLogicEvaluationHandler
Parameters:
event - which represents the evaluation
Returns:
the result of the decision evaluation


Copyright © 2017 camunda services GmbH. All rights reserved.