Package decisionrules
Class DecisionRulesService
java.lang.Object
decisionrules.DecisionRulesService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclass -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsolve(String ruleIdOrAlias, Object input, Integer version, SolverOptions solverOptions) booleanvalidateWebhookSignature(String payload, String signature, String secret)
-
Field Details
-
management
-
job
-
-
Constructor Details
-
DecisionRulesService
-
-
Method Details
-
solve
- Parameters:
ruleIdOrAlias-input- - can be any object, it will be serialized to JSON, if string is passed it will be used as is- Returns:
- JSON string response from the API - further processing is up to the user
-
solve
- Parameters:
ruleIdOrAlias-input- - can be any object, it will be serialized to JSON, if string is passed it will be used as isversion- version of a rule- Returns:
- JSON string response from the API - further processing is up to the user
-
solve
public String solve(String ruleIdOrAlias, Object input, Integer version, SolverOptions solverOptions) - Parameters:
ruleIdOrAlias-input- - can be any object, it will be serialized to JSON, if string is passed it will be used as isversion- version of a rulesolverOptions- options of solver- Returns:
- JSON string response from the API - further processing is up to the user
-
validateWebhookSignature
-