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 |
evaluateDecisionById(DMNModel model,
String decisionId,
DMNContext context)
Evaluate the decision identified by the given ID and
all dependent decisions, given the context
|
DMNResult |
evaluateDecisionByName(DMNModel model,
String decisionName,
DMNContext context)
Evaluate the decision identified by the given name and
all dependent decisions, given the context
|
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, 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 variablesDMNResult evaluateDecisionByName(DMNModel model, String decisionName, DMNContext context)
model - the model to evaluatedecisionName - the root decision to evaluate, identified
by namecontext - the context with all the input variablesDMNResult evaluateDecisionById(DMNModel model, String decisionId, DMNContext context)
model - the model to evaluatedecisionId - the root decision to evaluate, identified
by IDcontext - the context with all the input variablesDMNContext newContext()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.