public interface DMNServicesClient
| Modifier and Type | Method and Description |
|---|---|
org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> |
evaluateAll(String containerId,
org.kie.dmn.api.core.DMNContext dmnContext)
Convenience method to be used if the container contains only a single DMN model, to evaluate all decisions.
|
org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> |
evaluateAll(String containerId,
String namespace,
String modelName,
org.kie.dmn.api.core.DMNContext dmnContext)
Evaluate all decisions for the model identified by namespace and modelName, given the context dmnContext
|
org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> |
evaluateDecisionById(String containerId,
String namespace,
String modelName,
String decisionId,
org.kie.dmn.api.core.DMNContext dmnContext)
Evaluate the decision identified by the given ID and all dependent decisions for the model identified by namespace and modelName, given the context dmnContext
|
org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> |
evaluateDecisionByName(String containerId,
String namespace,
String modelName,
String decisionName,
org.kie.dmn.api.core.DMNContext dmnContext)
Evaluate the decision identified by the given name and all dependent decisions for the model identified by namespace and modelName, given the context dmnContext
|
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.dmn.DMNModelInfoList> |
getModels(String containerId)
Returns a list of all models available in the given container
|
org.kie.dmn.api.core.DMNContext |
newContext()
Creates a new empty DMNContext
|
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.dmn.DMNModelInfoList> getModels(String containerId)
containerId - the container id deploying the DMN modelsorg.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> evaluateAll(String containerId, String namespace, String modelName, org.kie.dmn.api.core.DMNContext dmnContext)
containerId - the container id deploying the DMN modelnamespace - namespace to identify the model to evaluatemodelName - model name to identify the model to evaluatedmnContext - the context with all the input variablesorg.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> evaluateDecisionByName(String containerId, String namespace, String modelName, String decisionName, org.kie.dmn.api.core.DMNContext dmnContext)
containerId - the container id deploying the DMN modelnamespace - namespace to identify the model to evaluatemodelName - model name to identify the model to evaluatedecisionName - the root decision to evaluate, identified
by namedmnContext - the context with all the input variablesorg.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> evaluateDecisionById(String containerId, String namespace, String modelName, String decisionId, org.kie.dmn.api.core.DMNContext dmnContext)
containerId - the container id deploying the DMN modelnamespace - namespace to identify the model to evaluatemodelName - model name to identify the model to evaluatedecisionId - the root decision to evaluate, identified
by IDdmnContext - the context with all the input variablesorg.kie.dmn.api.core.DMNContext newContext()
org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> evaluateAll(String containerId, org.kie.dmn.api.core.DMNContext dmnContext)
DMNServicesClient#evaluateAllDecisions(String, String, String, DMNContext) shall be used for containers deploying multiple DMN model.containerId - the container id deploying the DMN modeldmnContext - the context with all the input variablesCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.