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,
ReteooBuilder.IdGenerator idGenerator) |
List<TerminalNode> |
addRule(RuleImpl rule,
InternalKnowledgeBase kBase,
ReteooBuilder.IdGenerator idGenerator)
Creates the corresponting Rete network for the given
Rule and adds it to
the given rule base. |
WindowNode |
addWindowNode(WindowDeclaration window,
InternalKnowledgeBase kBase,
ReteooBuilder.IdGenerator idGenerator) |
protected BuildUtils utils
public List<TerminalNode> addRule(RuleImpl rule, InternalKnowledgeBase kBase, ReteooBuilder.IdGenerator idGenerator) throws InvalidPatternException
Rule
and adds it to
the given rule base.addRule
in interface RuleBuilder
rule
- The rule to add.kBase
- The rulebase to add the rule to.InvalidPatternException
public void addEntryPoint(String id, InternalKnowledgeBase kBase, ReteooBuilder.IdGenerator idGenerator)
addEntryPoint
in interface RuleBuilder
public WindowNode addWindowNode(WindowDeclaration window, InternalKnowledgeBase kBase, ReteooBuilder.IdGenerator idGenerator)
addWindowNode
in interface RuleBuilder
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.