public interface DMNRuntime extends DMNRuntimeEventManager
| Modifier and Type | Method and Description |
|---|---|
DMNResult |
evaluateAll(DMNModel model,
DMNContext context)
Evaluate all decisions for the model, given the context
|
DMNResult |
evaluateById(DMNModel model,
DMNContext context,
String... decisionIds)
Evaluate all decision identified by the given IDs and
all dependent decisions, given the context
|
DMNResult |
evaluateByName(DMNModel model,
DMNContext context,
String... decisionNames)
Evaluate all decisions identified by the given names and
all dependent decisions, given the context
|
DMNResult |
evaluateDecisionById(DMNModel model,
String decisionId,
DMNContext context)
Deprecated.
consider using
evaluateById(DMNModel, DMNContext, String...) instead |
DMNResult |
evaluateDecisionByName(DMNModel model,
String decisionName,
DMNContext context)
Deprecated.
consider using
evaluateByName(DMNModel, DMNContext, String...) instead |
DMNModel |
getModel(String namespace,
String modelName)
Returns the model registered with the given namespace and
model name.
|
List<DMNModel> |
getModels()
Returns a list of all models available to this runtime
|
DMNContext |
newContext()
Creates a new empty DMNContext
|
addListener, getListeners, getRuntime, removeListenerList<DMNModel> getModels()
DMNModel getModel(String namespace, String modelName)
namespace - the name space for the modelmodelName - the name of the modelDMNResult evaluateAll(DMNModel model, DMNContext context)
model - the model to evaluatecontext - the context with all the input variables@Deprecated DMNResult evaluateDecisionByName(DMNModel model, String decisionName, DMNContext context)
evaluateByName(DMNModel, DMNContext, String...) insteadmodel - the model to evaluatedecisionName - the root decision to evaluate, identified
by namecontext - the context with all the input variables@Deprecated DMNResult evaluateDecisionById(DMNModel model, String decisionId, DMNContext context)
evaluateById(DMNModel, DMNContext, String...) insteadmodel - the model to evaluatedecisionId - the root decision to evaluate, identified
by IDcontext - the context with all the input variablesDMNResult evaluateByName(DMNModel model, DMNContext context, String... decisionNames)
model - the model to evaluatedecisionNames - list of root decisions to evaluate, identified
by namecontext - the context with all the input variablesDMNResult evaluateById(DMNModel model, DMNContext context, String... decisionIds)
model - the model to evaluatedecisionIds - list of root decisions to evaluate, identified
by IDcontext - the context with all the input variablesDMNContext newContext()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.