public class DroolsRulesetImpl extends Object implements Ruleset
KieBase objects.| Constructor and Description |
|---|
DroolsRulesetImpl(org.kie.api.KieBase kieBase)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
StatefulRuleSession |
createStatefulSession() |
StatelessRuleSession |
defaultSession() |
<T> List<T> |
executeRules(List<T> input) |
<T> T |
executeRules(T input) |
public DroolsRulesetImpl(org.kie.api.KieBase kieBase)
kieBase - The KieBase wrapped by this instancepublic <T> T executeRules(T input)
executeRules in interface StatelessRulesExecutorpublic <T> List<T> executeRules(List<T> input)
executeRules in interface StatelessRulesExecutorpublic StatelessRuleSession defaultSession()
defaultSession in interface Rulesetpublic StatefulRuleSession createStatefulSession()
createStatefulSession in interface RulesetCopyright © 2017–2020 NTT DATA Corporation. All rights reserved.