org.camunda.bpm.dmn.engine.impl.delegate
Class DmnDecisionTableEvaluationEventImpl
java.lang.Object
org.camunda.bpm.dmn.engine.impl.delegate.DmnDecisionTableEvaluationEventImpl
- All Implemented Interfaces:
- DmnDecisionLogicEvaluationEvent, DmnDecisionTableEvaluationEvent
public class DmnDecisionTableEvaluationEventImpl
- extends Object
- implements DmnDecisionTableEvaluationEvent
decision
protected DmnDecision decision
inputs
protected List<DmnEvaluatedInput> inputs
matchingRules
protected List<DmnEvaluatedDecisionRule> matchingRules
collectResultName
protected String collectResultName
collectResultValue
protected org.camunda.bpm.engine.variable.value.TypedValue collectResultValue
executedDecisionElements
protected long executedDecisionElements
DmnDecisionTableEvaluationEventImpl
public DmnDecisionTableEvaluationEventImpl()
getDecisionTable
public DmnDecision getDecisionTable()
- Specified by:
getDecisionTable in interface DmnDecisionTableEvaluationEvent
- Returns:
- the evaluated decision table
getDecision
public DmnDecision getDecision()
- Specified by:
getDecision in interface DmnDecisionLogicEvaluationEvent
- Returns:
- the evaluated decision
setDecisionTable
public void setDecisionTable(DmnDecision decision)
getInputs
public List<DmnEvaluatedInput> getInputs()
- Specified by:
getInputs in interface DmnDecisionTableEvaluationEvent
- Returns:
- the inputs on which the decision table was evaluated
setInputs
public void setInputs(List<DmnEvaluatedInput> inputs)
getMatchingRules
public List<DmnEvaluatedDecisionRule> getMatchingRules()
- Specified by:
getMatchingRules in interface DmnDecisionTableEvaluationEvent
- Returns:
- the matching rules of the decision table evaluation
setMatchingRules
public void setMatchingRules(List<DmnEvaluatedDecisionRule> matchingRules)
getCollectResultName
public String getCollectResultName()
- Specified by:
getCollectResultName in interface DmnDecisionTableEvaluationEvent
- Returns:
- the result name of the collect operation if the
HitPolicy.COLLECT was used with an aggregator otherwise null
setCollectResultName
public void setCollectResultName(String collectResultName)
getCollectResultValue
public org.camunda.bpm.engine.variable.value.TypedValue getCollectResultValue()
- Specified by:
getCollectResultValue in interface DmnDecisionTableEvaluationEvent
- Returns:
- the result value of the collect operation if the
HitPolicy.COLLECT was used with an aggregator otherwise null
setCollectResultValue
public void setCollectResultValue(org.camunda.bpm.engine.variable.value.TypedValue collectResultValue)
getExecutedDecisionElements
public long getExecutedDecisionElements()
- Specified by:
getExecutedDecisionElements in interface DmnDecisionLogicEvaluationEvent- Specified by:
getExecutedDecisionElements in interface DmnDecisionTableEvaluationEvent
- Returns:
- the number of executed decision elements during the evaluation
setExecutedDecisionElements
public void setExecutedDecisionElements(long executedDecisionElements)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2017 camunda services GmbH. All rights reserved.