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.String
collectResultName
protected TypedValue
collectResultValue
protected DmnDecision
decision
protected long
executedDecisionElements
protected java.util.List<DmnEvaluatedInput>
inputs
protected 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.String
getCollectResultName()
TypedValue
getCollectResultValue()
DmnDecision
getDecision()
DmnDecision
getDecisionTable()
long
getExecutedDecisionElements()
java.util.List<DmnEvaluatedInput>
getInputs()
java.util.List<DmnEvaluatedDecisionRule>
getMatchingRules()
void
setCollectResultName(java.lang.String collectResultName)
void
setCollectResultValue(TypedValue collectResultValue)
void
setDecisionTable(DmnDecision decision)
void
setExecutedDecisionElements(long executedDecisionElements)
void
setInputs(java.util.List<DmnEvaluatedInput> inputs)
void
setMatchingRules(java.util.List<DmnEvaluatedDecisionRule> matchingRules)
java.lang.String
toString()
-
-
-
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:
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 java.util.List<DmnEvaluatedInput> getInputs()
- Specified by:
getInputs
in 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:
getMatchingRules
in 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:
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(java.lang.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)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-