Modifier and Type | Field and Description |
---|---|
protected DefaultDmnEngineConfiguration |
dmnEngineConfiguration |
protected static DmnEngineLogger |
LOG |
protected DmnTransformer |
transformer |
Constructor and Description |
---|
DefaultDmnEngine(DefaultDmnEngineConfiguration dmnEngineConfiguration) |
Modifier and Type | Method and Description |
---|---|
DmnDecisionTableResult |
evaluateDecisionTable(DmnDecision decision,
Map<String,Object> variables)
Evaluates a decision which is implemented as decision table.
|
DmnDecisionTableResult |
evaluateDecisionTable(DmnDecision decision,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Evaluates a decision which is implemented as decision table.
|
DmnDecisionTableResult |
evaluateDecisionTable(String decisionKey,
DmnModelInstance dmnModelInstance,
Map<String,Object> variables)
Evaluates the decision with the given key in a DMN decision model.
|
DmnDecisionTableResult |
evaluateDecisionTable(String decisionKey,
DmnModelInstance dmnModelInstance,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Evaluates the decision with the given key in a DMN decision model.
|
DmnDecisionTableResult |
evaluateDecisionTable(String decisionKey,
InputStream inputStream,
Map<String,Object> variables)
Evaluates the decision with the given key in a DMN decision model.
|
DmnDecisionTableResult |
evaluateDecisionTable(String decisionKey,
InputStream inputStream,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Evaluates the decision with the given key in a DMN decision model.
|
DmnEngineConfiguration |
getConfiguration()
The configuration of this engine.
|
DmnDecision |
parseDecision(String decisionKey,
DmnModelInstance dmnModelInstance)
Parse the decision with the given key in a DMN decision model.
|
DmnDecision |
parseDecision(String decisionKey,
InputStream inputStream)
Parse the decision with the given key in a DMN decision model.
|
List<DmnDecision> |
parseDecisions(DmnModelInstance dmnModelInstance)
Parse all decisions in a DMN decision model.
|
List<DmnDecision> |
parseDecisions(InputStream inputStream)
Parse all decisions in a DMN decision model.
|
protected static final DmnEngineLogger LOG
protected DefaultDmnEngineConfiguration dmnEngineConfiguration
protected DmnTransformer transformer
public DefaultDmnEngine(DefaultDmnEngineConfiguration dmnEngineConfiguration)
public DmnEngineConfiguration getConfiguration()
DmnEngine
getConfiguration
in interface DmnEngine
public List<DmnDecision> parseDecisions(InputStream inputStream)
DmnEngine
parseDecisions
in interface DmnEngine
inputStream
- the InputStream
of the DMN fileDmnDecision
s of the DMN filepublic List<DmnDecision> parseDecisions(DmnModelInstance dmnModelInstance)
DmnEngine
parseDecisions
in interface DmnEngine
dmnModelInstance
- the DmnModelInstance
of the DMN decision modelDmnDecision
s of the DMN filepublic DmnDecision parseDecision(String decisionKey, InputStream inputStream)
DmnEngine
id
attribute of the decision
in the DMN XML file.parseDecision
in interface DmnEngine
decisionKey
- the key of the decision to parseinputStream
- the InputStream
of the DMN fileDmnDecision
of the DMN filepublic DmnDecision parseDecision(String decisionKey, DmnModelInstance dmnModelInstance)
DmnEngine
id
attribute of the decision
in the DMN XML file.parseDecision
in interface DmnEngine
decisionKey
- the key of the decision to parsedmnModelInstance
- the DmnModelInstance
of the DMN decision modelDmnDecision
of the DMN filepublic DmnDecisionTableResult evaluateDecisionTable(DmnDecision decision, Map<String,Object> variables)
DmnEngine
evaluateDecisionTable
in interface DmnEngine
decision
- the DmnDecision
to evaluatevariables
- the variables which are available during the evaluation
of expressions in the decision tableDmnDecisionTableResult
of this evaluationpublic DmnDecisionTableResult evaluateDecisionTable(DmnDecision decision, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngine
evaluateDecisionTable
in interface DmnEngine
decision
- the DmnDecision
to evaluatevariableContext
- the variables context which is available during the evaluation
of expressions in the decision tableDmnDecisionTableResult
of this evaluationpublic DmnDecisionTableResult evaluateDecisionTable(String decisionKey, InputStream inputStream, Map<String,Object> variables)
DmnEngine
id
attribute of the decision in the DMN XML file.evaluateDecisionTable
in interface DmnEngine
decisionKey
- the key of the decision to evaluatedinputStream
- the InputStream
of the DMN filevariables
- the variables which are available during the evaluation
of expressions in the decision tableDmnDecisionTableResult
of this evaluationpublic DmnDecisionTableResult evaluateDecisionTable(String decisionKey, InputStream inputStream, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngine
id
attribute of the decision in the DMN XML file.evaluateDecisionTable
in interface DmnEngine
decisionKey
- the key of the decision to evaluatedinputStream
- the InputStream
of the DMN filevariableContext
- the variables context which is available during the evaluation
of expressions in the decision tableDmnDecisionTableResult
of this evaluationpublic DmnDecisionTableResult evaluateDecisionTable(String decisionKey, DmnModelInstance dmnModelInstance, Map<String,Object> variables)
DmnEngine
id
attribute of the decision in the DMN XML file.evaluateDecisionTable
in interface DmnEngine
decisionKey
- the key of the decision to evaluateddmnModelInstance
- the DmnModelInstance
of the DMN decision modelvariables
- the variables which are available during the evaluation
of expressions in the decision tableDmnDecisionTableResult
of this evaluationpublic DmnDecisionTableResult evaluateDecisionTable(String decisionKey, DmnModelInstance dmnModelInstance, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngine
id
attribute of the decision in the DMN XML file.evaluateDecisionTable
in interface DmnEngine
decisionKey
- the key of the decision to evaluateddmnModelInstance
- the DmnModelInstance
of the DMN decision modelvariableContext
- the variables context which is available during the evaluation
of expressions in the decision tableDmnDecisionTableResult
of this evaluationCopyright © 2018. All rights reserved.