|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DmnEngine
A DMN engine which can parse DMN decision models and evaluate decisions.
A new DMN engine can be build with a DMN engine configuration
(see DmnEngineConfiguration.buildEngine()).
| Method Summary | |
|---|---|
DmnDecisionResult |
evaluateDecision(DmnDecision decision,
Map<String,Object> variables)
Evaluates a decision. |
DmnDecisionResult |
evaluateDecision(DmnDecision decision,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Evaluates a decision. |
DmnDecisionResult |
evaluateDecision(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
Map<String,Object> variables)
Evaluates the decision with the given key in a DMN decision model. |
DmnDecisionResult |
evaluateDecision(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Evaluates the decision with the given key in a DMN decision model. |
DmnDecisionResult |
evaluateDecision(String decisionKey,
InputStream inputStream,
Map<String,Object> variables)
Evaluates the decision with the given key in a DMN decision model. |
DmnDecisionResult |
evaluateDecision(String decisionKey,
InputStream inputStream,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Evaluates the decision with the given key in a DMN decision model. |
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,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
Map<String,Object> variables)
Evaluates the decision with the given key in a DMN decision model. |
DmnDecisionTableResult |
evaluateDecisionTable(String decisionKey,
org.camunda.bpm.model.dmn.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,
org.camunda.bpm.model.dmn.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. |
DmnDecisionRequirementsGraph |
parseDecisionRequirementsGraph(org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance)
Parse the decision requirements graph in a DMN decision model. |
DmnDecisionRequirementsGraph |
parseDecisionRequirementsGraph(InputStream inputStream)
Parse the decision requirements graph in a DMN decision model. |
List<DmnDecision> |
parseDecisions(org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance)
Parse all decisions in a DMN decision model. |
List<DmnDecision> |
parseDecisions(InputStream inputStream)
Parse all decisions in a DMN decision model. |
| Method Detail |
|---|
DmnEngineConfiguration getConfiguration()
List<DmnDecision> parseDecisions(InputStream inputStream)
inputStream - the InputStream of the DMN file
DmnDecisions of the DMN file
DmnEngineException - if an error occurs during the parsing of the decision modelList<DmnDecision> parseDecisions(org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance)
dmnModelInstance - the DmnModelInstance of the DMN decision model
DmnDecisions of the DMN file
DmnEngineException - if an error occurs during the parsing of the decision model
DmnDecision parseDecision(String decisionKey,
InputStream inputStream)
id attribute of the decision
in the DMN XML file.
decisionKey - the key of the decision to parseinputStream - the InputStream of the DMN file
DmnDecision of the DMN file
DmnEngineException - if an error occurs during the parsing of the decision model
DmnDecision parseDecision(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance)
id attribute of the decision
in the DMN XML file.
decisionKey - the key of the decision to parsedmnModelInstance - the DmnModelInstance of the DMN decision model
DmnDecision of the DMN file
DmnEngineException - if an error occurs during the parsing of the decision modelDmnDecisionRequirementsGraph parseDecisionRequirementsGraph(InputStream inputStream)
inputStream - the InputStream of the DMN file
DmnDecisions of the DMN file
DmnEngineException - if an error occurs during the parsing of the decision modelDmnDecisionRequirementsGraph parseDecisionRequirementsGraph(org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance)
dmnModelInstance - the DmnModelInstance of the DMN decision model
DmnDecisions of the DMN file
DmnEngineException - if an error occurs during the parsing of the decision model
DmnDecisionTableResult evaluateDecisionTable(DmnDecision decision,
Map<String,Object> variables)
decision - the DmnDecision to evaluatevariables - the variables which are available during the evaluation
of expressions in the decision table
DmnDecisionTableResult of this evaluation
DmnEngineException - if the decision is not implemented as decision table (see DmnDecision.isDecisionTable()
DmnEngineException - if an error occurs during the evaluationevaluateDecision(DmnDecision, Map)
DmnDecisionTableResult evaluateDecisionTable(DmnDecision decision,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
decision - the DmnDecision to evaluatevariableContext - the variables context which is available during the evaluation
of expressions in the decision table
DmnDecisionTableResult of this evaluation
DmnEngineException - if the decision is not implemented as decision table (see DmnDecision.isDecisionTable()
DmnEngineException - if an error occurs during the evaluationevaluateDecision(DmnDecision, VariableContext)
DmnDecisionTableResult evaluateDecisionTable(String decisionKey,
InputStream inputStream,
Map<String,Object> variables)
id attribute of the decision in the DMN XML file.
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 table
DmnDecisionTableResult of this evaluation
DmnEngineException - if no decision is found with the given key
DmnEngineException - if the decision is not implemented as decision table
DmnEngineException - if an error occurs during the evaluationevaluateDecision(String, InputStream, Map)
DmnDecisionTableResult evaluateDecisionTable(String decisionKey,
InputStream inputStream,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
id attribute of the decision in the DMN XML file.
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 table
DmnDecisionTableResult of this evaluation
DmnEngineException - if no decision is found with the given key
DmnEngineException - if the decision is not implemented as decision table
DmnEngineException - if an error occurs during the evaluationevaluateDecision(String, InputStream, VariableContext)
DmnDecisionTableResult evaluateDecisionTable(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
Map<String,Object> variables)
id attribute of the decision in the DMN XML file.
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 table
DmnDecisionTableResult of this evaluation
DmnEngineException - if no decision is found with the given key
DmnEngineException - if the decision is not implemented as decision table
DmnEngineException - if an error occurs during the evaluationevaluateDecision(String, DmnModelInstance, Map)
DmnDecisionTableResult evaluateDecisionTable(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
id attribute of the decision in the DMN XML file.
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 table
DmnDecisionTableResult of this evaluation
DmnEngineException - if an error occurs during the parsing of the decision model
DmnEngineException - if no decision is found with the given key
DmnEngineException - if the decision is not implemented as decision table
DmnEngineException - if an error occurs during the evaluationevaluateDecision(String, DmnModelInstance, VariableContext)
DmnDecisionResult evaluateDecision(DmnDecision decision,
Map<String,Object> variables)
decision - the DmnDecision to evaluatevariables - the variables which are available during the evaluation
of expressions in the decision
DmnDecisionResult of this evaluation
DmnEngineException - if the decision logic is not supported
DmnEngineException - if an error occurs during the evaluation
DmnDecisionResult evaluateDecision(DmnDecision decision,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
decision - the DmnDecision to evaluatevariableContext - the variables context which is available during the evaluation
of expressions in the table
DmnDecisionResult of this evaluation
DmnEngineException - if the decision logic is not supported
DmnEngineException - if an error occurs during the evaluation
DmnDecisionResult evaluateDecision(String decisionKey,
InputStream inputStream,
Map<String,Object> variables)
id attribute of the decision in the DMN XML file.
The decision can be implemented as any kind of supported decision logic (e.g., decision table, literal expression).
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
DmnDecisionResult of this evaluation
DmnEngineException - if no decision is found with the given key
DmnEngineException - if the decision logic is not supported
DmnEngineException - if an error occurs during the evaluation
DmnDecisionResult evaluateDecision(String decisionKey,
InputStream inputStream,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
id attribute of the decision in the DMN XML file.
The decision can be implemented as any kind of supported decision logic (e.g., decision table, literal expression).
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
DmnDecisionResult of this evaluation
DmnEngineException - if no decision is found with the given key
DmnEngineException - if the decision logic is not supported
DmnEngineException - if an error occurs during the evaluation
DmnDecisionResult evaluateDecision(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
Map<String,Object> variables)
id attribute of the decision in the DMN XML file.
The decision can be implemented as any kind of supported decision logic (e.g., decision table, literal expression).
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
DmnDecisionResult of this evaluation
DmnEngineException - if no decision is found with the given key
DmnEngineException - if the decision logic is not supported
DmnEngineException - if an error occurs during the evaluation
DmnDecisionResult evaluateDecision(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
id attribute of the decision in the DMN XML file.
The decision can be implemented as any kind of supported decision logic (e.g., decision table, literal expression).
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
DmnDecisionResult of this evaluation
DmnEngineException - if an error occurs during the parsing of the decision model
DmnEngineException - if no decision is found with the given key
DmnEngineException - if the decision logic is not supported
DmnEngineException - if an error occurs during the evaluation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||