Class DmnDecisionTableEvaluationEventImpl
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.delegate.DmnDecisionTableEvaluationEventImpl
-
- All Implemented Interfaces:
DmnDecisionLogicEvaluationEvent,DmnDecisionTableEvaluationEvent
public class DmnDecisionTableEvaluationEventImpl extends java.lang.Object implements DmnDecisionTableEvaluationEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcollectResultNameprotected TypedValuecollectResultValueprotected DmnDecisiondecisionprotected longexecutedDecisionElementsprotected java.util.List<DmnEvaluatedInput>inputsprotected java.util.List<DmnEvaluatedDecisionRule>matchingRules
-
Constructor Summary
Constructors Constructor Description DmnDecisionTableEvaluationEventImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCollectResultName()TypedValuegetCollectResultValue()DmnDecisiongetDecision()DmnDecisiongetDecisionTable()longgetExecutedDecisionElements()java.util.List<DmnEvaluatedInput>getInputs()java.util.List<DmnEvaluatedDecisionRule>getMatchingRules()voidsetCollectResultName(java.lang.String collectResultName)voidsetCollectResultValue(TypedValue collectResultValue)voidsetDecisionTable(DmnDecision decision)voidsetExecutedDecisionElements(long executedDecisionElements)voidsetInputs(java.util.List<DmnEvaluatedInput> inputs)voidsetMatchingRules(java.util.List<DmnEvaluatedDecisionRule> matchingRules)java.lang.StringtoString()
-
-
-
Field Detail
-
decision
protected DmnDecision decision
-
inputs
protected java.util.List<DmnEvaluatedInput> inputs
-
matchingRules
protected java.util.List<DmnEvaluatedDecisionRule> matchingRules
-
collectResultName
protected java.lang.String collectResultName
-
collectResultValue
protected TypedValue collectResultValue
-
executedDecisionElements
protected long executedDecisionElements
-
-
Method Detail
-
getDecisionTable
public DmnDecision getDecisionTable()
- Specified by:
getDecisionTablein interfaceDmnDecisionTableEvaluationEvent- Returns:
- the evaluated decision table
-
getDecision
public DmnDecision getDecision()
- Specified by:
getDecisionin interfaceDmnDecisionLogicEvaluationEvent- Returns:
- the evaluated decision
-
setDecisionTable
public void setDecisionTable(DmnDecision decision)
-
getInputs
public java.util.List<DmnEvaluatedInput> getInputs()
- Specified by:
getInputsin interfaceDmnDecisionTableEvaluationEvent- Returns:
- the inputs on which the decision table was evaluated
-
setInputs
public void setInputs(java.util.List<DmnEvaluatedInput> inputs)
-
getMatchingRules
public java.util.List<DmnEvaluatedDecisionRule> getMatchingRules()
- Specified by:
getMatchingRulesin interfaceDmnDecisionTableEvaluationEvent- Returns:
- the matching rules of the decision table evaluation
-
setMatchingRules
public void setMatchingRules(java.util.List<DmnEvaluatedDecisionRule> matchingRules)
-
getCollectResultName
public java.lang.String getCollectResultName()
- Specified by:
getCollectResultNamein interfaceDmnDecisionTableEvaluationEvent- Returns:
- the result name of the collect operation if the
HitPolicy.COLLECTwas used with an aggregator otherwise null
-
setCollectResultName
public void setCollectResultName(java.lang.String collectResultName)
-
getCollectResultValue
public TypedValue getCollectResultValue()
- Specified by:
getCollectResultValuein interfaceDmnDecisionTableEvaluationEvent- Returns:
- the result value of the collect operation if the
HitPolicy.COLLECTwas used with an aggregator otherwise null
-
setCollectResultValue
public void setCollectResultValue(TypedValue collectResultValue)
-
getExecutedDecisionElements
public long getExecutedDecisionElements()
- Specified by:
getExecutedDecisionElementsin interfaceDmnDecisionLogicEvaluationEvent- Specified by:
getExecutedDecisionElementsin interfaceDmnDecisionTableEvaluationEvent- Returns:
- the number of executed decision elements during the evaluation
-
setExecutedDecisionElements
public void setExecutedDecisionElements(long executedDecisionElements)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-