public class DMNServicesClientImpl extends AbstractKieServicesClientImpl implements DMNServicesClient
BYPASS_AUTH_USER, classLoader, config, loadBalancer, marshaller, owner| Constructor and Description |
|---|
DMNServicesClientImpl(KieServicesConfiguration config) |
DMNServicesClientImpl(KieServicesConfiguration config,
ClassLoader classLoader) |
| 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.dmn.api.core.DMNResult> |
evaluateDecisions(String containerId,
org.kie.server.api.model.dmn.DMNContextKS payload)
Please notice this method is NOT exposed to the API interface.
|
org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> |
evaluateDecisionService(String containerId,
String namespace,
String modelName,
String decisionServiceName,
org.kie.dmn.api.core.DMNContext dmnContext)
Evaluate the Decision Service identified by the given name, given the context
|
static BigDecimal |
getBigDecimalOrNull(Object value) |
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
|
buildQueryString, checkResultType, close, createExceptionForUnexpectedResponseCode, deserialize, encode, executeJmsCommand, executeJmsCommand, executeJmsCommand, executeJmsCommand, getAdditionalParams, getConversationId, getHeaders, getLoadBalancer, getMediaType, getMessage, getPagingQueryString, getResponseHandler, getSortingQueryString, getUserAndAdditionalParam, getUserAndAdditionalParams, getUserAndPagingQueryString, getUserQueryStr, initializeURI, invoke, makeBackwardCompatibleHttpPostRequestAndCreateServiceResponse, makeBackwardCompatibleHttpPostRequestAndCreateServiceResponse, makeHttpDeleteRequestAndCreateCustomResponse, makeHttpDeleteRequestAndCreateServiceResponse, makeHttpGetRequestAndCreateCustomResponse, makeHttpGetRequestAndCreateRawResponse, makeHttpGetRequestAndCreateRawResponse, makeHttpGetRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPutRequestAndCreateCustomResponse, makeHttpPutRequestAndCreateCustomResponse, makeHttpPutRequestAndCreateServiceResponse, makeHttpPutRequestAndCreateServiceResponse, newRequest, safeList, safeMap, sendTaskOperation, serialize, setOwner, setResponseHandler, shouldReturnWithNullResponse, throwExceptionOnFailurepublic DMNServicesClientImpl(KieServicesConfiguration config)
public DMNServicesClientImpl(KieServicesConfiguration config, ClassLoader classLoader)
public org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.dmn.DMNModelInfoList> getModels(String containerId)
DMNServicesClientgetModels in interface DMNServicesClientcontainerId - the container id deploying the DMN modelspublic org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> evaluateAll(String containerId, org.kie.dmn.api.core.DMNContext dmnContext)
DMNServicesClientDMNServicesClient.evaluateAll(String, String, String, DMNContext) shall be used for containers deploying multiple DMN model.evaluateAll in interface DMNServicesClientcontainerId - the container id deploying the DMN modeldmnContext - the context with all the input variablespublic 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)
DMNServicesClientevaluateAll in interface DMNServicesClientcontainerId - 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 variablespublic 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)
DMNServicesClientevaluateDecisionByName in interface DMNServicesClientcontainerId - 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 variablespublic 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)
DMNServicesClientevaluateDecisionById in interface DMNServicesClientcontainerId - 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 variablespublic org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> evaluateDecisionService(String containerId, String namespace, String modelName, String decisionServiceName, org.kie.dmn.api.core.DMNContext dmnContext)
DMNServicesClientevaluateDecisionService in interface DMNServicesClientcontainerId - the container id deploying the DMN modelnamespace - namespace to identify the model to evaluatemodelName - model name to identify the model to evaluatedecisionServiceName - the Decision Service namedmnContext - the context with all the required inputs (inputData and inputDecision) required by the Decision Servicepublic org.kie.server.api.model.ServiceResponse<org.kie.dmn.api.core.DMNResult> evaluateDecisions(String containerId, org.kie.server.api.model.dmn.DMNContextKS payload)
public org.kie.dmn.api.core.DMNContext newContext()
DMNServicesClientnewContext in interface DMNServicesClientpublic static BigDecimal getBigDecimalOrNull(Object value)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.