org.camunda.bpm.dmn.engine.impl.delegate
Class DmnDecisionTableEvaluationEventImpl

java.lang.Object
  extended by org.camunda.bpm.dmn.engine.impl.delegate.DmnDecisionTableEvaluationEventImpl
All Implemented Interfaces:
DmnDecisionLogicEvaluationEvent, DmnDecisionTableEvaluationEvent

public class DmnDecisionTableEvaluationEventImpl
extends Object
implements DmnDecisionTableEvaluationEvent


Field Summary
protected  String collectResultName
           
protected  org.camunda.bpm.engine.variable.value.TypedValue collectResultValue
           
protected  DmnDecision decision
           
protected  long executedDecisionElements
           
protected  List<DmnEvaluatedInput> inputs
           
protected  List<DmnEvaluatedDecisionRule> matchingRules
           
 
Constructor Summary
DmnDecisionTableEvaluationEventImpl()
           
 
Method Summary
 String getCollectResultName()
           
 org.camunda.bpm.engine.variable.value.TypedValue getCollectResultValue()
           
 DmnDecision getDecision()
           
 DmnDecision getDecisionTable()
           
 long getExecutedDecisionElements()
           
 List<DmnEvaluatedInput> getInputs()
           
 List<DmnEvaluatedDecisionRule> getMatchingRules()
           
 void setCollectResultName(String collectResultName)
           
 void setCollectResultValue(org.camunda.bpm.engine.variable.value.TypedValue collectResultValue)
           
 void setDecisionTable(DmnDecision decision)
           
 void setExecutedDecisionElements(long executedDecisionElements)
           
 void setInputs(List<DmnEvaluatedInput> inputs)
           
 void setMatchingRules(List<DmnEvaluatedDecisionRule> matchingRules)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

DmnDecisionTableEvaluationEventImpl

public DmnDecisionTableEvaluationEventImpl()
Method Detail

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.