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
-
-
Field Summary
Fields Modifier and Type Field Description protected String
collectResultName
protected TypedValue
collectResultValue
protected DmnDecision
decision
protected long
executedDecisionElements
protected List<DmnEvaluatedInput>
inputs
protected List<DmnEvaluatedDecisionRule>
matchingRules
-
Constructor Summary
Constructors Constructor Description DmnDecisionTableEvaluationEventImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCollectResultName()
TypedValue
getCollectResultValue()
DmnDecision
getDecision()
DmnDecision
getDecisionTable()
long
getExecutedDecisionElements()
List<DmnEvaluatedInput>
getInputs()
List<DmnEvaluatedDecisionRule>
getMatchingRules()
void
setCollectResultName(String collectResultName)
void
setCollectResultValue(TypedValue collectResultValue)
void
setDecisionTable(DmnDecision decision)
void
setExecutedDecisionElements(long executedDecisionElements)
void
setInputs(List<DmnEvaluatedInput> inputs)
void
setMatchingRules(List<DmnEvaluatedDecisionRule> matchingRules)
String
toString()
-
-
-
Field Detail
-
decision
protected DmnDecision decision
-
inputs
protected List<DmnEvaluatedInput> inputs
-
matchingRules
protected List<DmnEvaluatedDecisionRule> matchingRules
-
collectResultName
protected String collectResultName
-
collectResultValue
protected TypedValue collectResultValue
-
executedDecisionElements
protected long executedDecisionElements
-
-
Method Detail
-
getDecisionTable
public DmnDecision getDecisionTable()
- Specified by:
getDecisionTable
in interfaceDmnDecisionTableEvaluationEvent
- Returns:
- the evaluated decision table
-
getDecision
public DmnDecision getDecision()
- Specified by:
getDecision
in interfaceDmnDecisionLogicEvaluationEvent
- Returns:
- the evaluated decision
-
setDecisionTable
public void setDecisionTable(DmnDecision decision)
-
getInputs
public List<DmnEvaluatedInput> getInputs()
- Specified by:
getInputs
in interfaceDmnDecisionTableEvaluationEvent
- 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 interfaceDmnDecisionTableEvaluationEvent
- Returns:
- the matching rules of the decision table evaluation
-
setMatchingRules
public void setMatchingRules(List<DmnEvaluatedDecisionRule> matchingRules)
-
getCollectResultName
public String getCollectResultName()
- Specified by:
getCollectResultName
in interfaceDmnDecisionTableEvaluationEvent
- 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 TypedValue getCollectResultValue()
- Specified by:
getCollectResultValue
in interfaceDmnDecisionTableEvaluationEvent
- Returns:
- the result value of the collect operation if the
HitPolicy.COLLECT
was used with an aggregator otherwise null
-
setCollectResultValue
public void setCollectResultValue(TypedValue collectResultValue)
-
getExecutedDecisionElements
public long getExecutedDecisionElements()
- Specified by:
getExecutedDecisionElements
in interfaceDmnDecisionLogicEvaluationEvent
- Specified by:
getExecutedDecisionElements
in interfaceDmnDecisionTableEvaluationEvent
- Returns:
- the number of executed decision elements during the evaluation
-
setExecutedDecisionElements
public void setExecutedDecisionElements(long executedDecisionElements)
-
-