|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.dmn.engine.impl.DefaultDmnEngine
public class DefaultDmnEngine
| Field Summary | |
|---|---|
protected DefaultDmnEngineConfiguration |
dmnEngineConfiguration
|
protected static DmnEngineLogger |
LOG
|
protected DmnTransformer |
transformer
|
| Constructor Summary | |
|---|---|
DefaultDmnEngine(DefaultDmnEngineConfiguration dmnEngineConfiguration)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final DmnEngineLogger LOG
protected DefaultDmnEngineConfiguration dmnEngineConfiguration
protected DmnTransformer transformer
| Constructor Detail |
|---|
public DefaultDmnEngine(DefaultDmnEngineConfiguration dmnEngineConfiguration)
| Method Detail |
|---|
public DmnEngineConfiguration getConfiguration()
DmnEngine
getConfiguration in interface DmnEnginepublic List<DmnDecision> parseDecisions(InputStream inputStream)
DmnEngine
parseDecisions in interface DmnEngineinputStream - the InputStream of the DMN file
DmnDecisions of the DMN filepublic List<DmnDecision> parseDecisions(org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance)
DmnEngine
parseDecisions in interface DmnEnginedmnModelInstance - the DmnModelInstance of the DMN decision model
DmnDecisions of the DMN file
public DmnDecision parseDecision(String decisionKey,
InputStream inputStream)
DmnEngineid attribute of the decision
in the DMN XML file.
parseDecision in interface DmnEnginedecisionKey - the key of the decision to parseinputStream - the InputStream of the DMN file
DmnDecision of the DMN file
public DmnDecision parseDecision(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance)
DmnEngineid attribute of the decision
in the DMN XML file.
parseDecision in interface DmnEnginedecisionKey - the key of the decision to parsedmnModelInstance - the DmnModelInstance of the DMN decision model
DmnDecision of the DMN filepublic DmnDecisionRequirementsGraph parseDecisionRequirementsGraph(InputStream inputStream)
DmnEngine
parseDecisionRequirementsGraph in interface DmnEngineinputStream - the InputStream of the DMN file
DmnDecisions of the DMN filepublic DmnDecisionRequirementsGraph parseDecisionRequirementsGraph(org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance)
DmnEngine
parseDecisionRequirementsGraph in interface DmnEnginedmnModelInstance - the DmnModelInstance of the DMN decision model
DmnDecisions of the DMN file
public DmnDecisionTableResult evaluateDecisionTable(DmnDecision decision,
Map<String,Object> variables)
DmnEngine
evaluateDecisionTable in interface DmnEnginedecision - the DmnDecision to evaluatevariables - the variables which are available during the evaluation
of expressions in the decision table
DmnDecisionTableResult of this evaluationDmnEngine.evaluateDecision(DmnDecision, Map)
public DmnDecisionTableResult evaluateDecisionTable(DmnDecision decision,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngine
evaluateDecisionTable in interface DmnEnginedecision - the DmnDecision to evaluatevariableContext - the variables context which is available during the evaluation
of expressions in the decision table
DmnDecisionTableResult of this evaluationDmnEngine.evaluateDecision(DmnDecision, VariableContext)
public DmnDecisionTableResult evaluateDecisionTable(String decisionKey,
InputStream inputStream,
Map<String,Object> variables)
DmnEngineid attribute of the decision in the DMN XML file.
evaluateDecisionTable in interface DmnEnginedecisionKey - 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 evaluationDmnEngine.evaluateDecision(String, InputStream, Map)
public DmnDecisionTableResult evaluateDecisionTable(String decisionKey,
InputStream inputStream,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngineid attribute of the decision in the DMN XML file.
evaluateDecisionTable in interface DmnEnginedecisionKey - 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 evaluationDmnEngine.evaluateDecision(String, InputStream, VariableContext)
public DmnDecisionTableResult evaluateDecisionTable(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
Map<String,Object> variables)
DmnEngineid attribute of the decision in the DMN XML file.
evaluateDecisionTable in interface DmnEnginedecisionKey - 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 evaluationDmnEngine.evaluateDecision(String, DmnModelInstance, Map)
public DmnDecisionTableResult evaluateDecisionTable(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngineid attribute of the decision in the DMN XML file.
evaluateDecisionTable in interface DmnEnginedecisionKey - 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 evaluationDmnEngine.evaluateDecision(String, DmnModelInstance, VariableContext)
public DmnDecisionResult evaluateDecision(DmnDecision decision,
Map<String,Object> variables)
DmnEngine
evaluateDecision in interface DmnEnginedecision - the DmnDecision to evaluatevariables - the variables which are available during the evaluation
of expressions in the decision
DmnDecisionResult of this evaluation
public DmnDecisionResult evaluateDecision(DmnDecision decision,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngine
evaluateDecision in interface DmnEnginedecision - the DmnDecision to evaluatevariableContext - the variables context which is available during the evaluation
of expressions in the table
DmnDecisionResult of this evaluation
public DmnDecisionResult evaluateDecision(String decisionKey,
InputStream inputStream,
Map<String,Object> variables)
DmnEngineid 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).
evaluateDecision in interface DmnEnginedecisionKey - 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
public DmnDecisionResult evaluateDecision(String decisionKey,
InputStream inputStream,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngineid 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).
evaluateDecision in interface DmnEnginedecisionKey - 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
public DmnDecisionResult evaluateDecision(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
Map<String,Object> variables)
DmnEngineid 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).
evaluateDecision in interface DmnEnginedecisionKey - 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
public DmnDecisionResult evaluateDecision(String decisionKey,
org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
DmnEngineid 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).
evaluateDecision in interface DmnEnginedecisionKey - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||