public class TrieBasedEvaluationEngine extends Object implements IEvaluationEngine
| Constructor and Description |
|---|
TrieBasedEvaluationEngine(RuleSystemMetaData metaData) |
TrieBasedEvaluationEngine(RuleSystemMetaData metaData,
List<Rule> rules) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(Rule rule) |
void |
deleteRule(Rule rule) |
List<Rule> |
getAllApplicableRules(Map<String,String> inputMap) |
List<Rule> |
getAllRules() |
Rule |
getNextApplicableRule(Map<String,String> inputMap) |
Rule |
getRule(Integer ruleId) |
Rule |
getRule(Map<String,String> inputMap) |
public TrieBasedEvaluationEngine(RuleSystemMetaData metaData) throws Exception
Exceptionpublic TrieBasedEvaluationEngine(RuleSystemMetaData metaData, List<Rule> rules) throws Exception
Exceptionpublic List<Rule> getAllRules()
getAllRules in interface IEvaluationEnginepublic Rule getRule(Integer ruleId)
getRule in interface IEvaluationEnginepublic Rule getRule(Map<String,String> inputMap) throws Exception
getRule in interface IEvaluationEngineExceptionpublic Rule getNextApplicableRule(Map<String,String> inputMap) throws Exception
getNextApplicableRule in interface IEvaluationEngineExceptionpublic void addRule(Rule rule) throws Exception
addRule in interface IEvaluationEngineExceptionpublic void deleteRule(Rule rule) throws Exception
deleteRule in interface IEvaluationEngineExceptionpublic List<Rule> getAllApplicableRules(Map<String,String> inputMap) throws Exception
getAllApplicableRules in interface IEvaluationEngineExceptionCopyright © 2016. All rights reserved.