public class ReteooRuleBuilder extends Object implements RuleBuilder
| Modifier and Type | Field and Description |
|---|---|
protected BuildUtils |
utils |
| Constructor and Description |
|---|
ReteooRuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntryPoint(String id,
InternalKnowledgeBase kBase) |
List<TerminalNode> |
addRule(RuleImpl rule,
InternalKnowledgeBase kBase)
Creates the corresponting Rete network for the given
Rule and adds it to
the given rule base. |
WindowNode |
addWindowNode(WindowDeclaration window,
InternalKnowledgeBase kBase) |
protected BuildUtils utils
public List<TerminalNode> addRule(RuleImpl rule, InternalKnowledgeBase kBase) throws InvalidPatternException
Rule and adds it to
the given rule base.addRule in interface RuleBuilderrule - The rule to add.kBase - The rulebase to add the rule to.InvalidPatternExceptionpublic void addEntryPoint(String id, InternalKnowledgeBase kBase)
addEntryPoint in interface RuleBuilderpublic WindowNode addWindowNode(WindowDeclaration window, InternalKnowledgeBase kBase)
addWindowNode in interface RuleBuilderCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.