|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.reteoo.Builder
Builds the Rete-OO network for a RuleSet
.
RuleSet
![]() |
![]() |
Constructor Summary | |
Builder()
Construct a Builder against an existing Rete
network. |
|
Builder(RuleBaseContext ruleBaseContext)
Construct a Builder against an existing Rete
network. |
Method Summary | |
protected void |
addRule(Rule rule)
Add a Rule to the network. |
void |
addRuleSet(RuleSet ruleSet)
Add a RuleSet to the network. |
RuleBase |
buildRuleBase()
Build the RuleBase . |
void |
setConflictResolver(ConflictResolver conflictResolver)
Set the ConflictResolver . |
void |
setFactHandleFactory(FactHandleFactory factHandleFactory)
Set the FactHandleFactory . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Builder()
Builder
against an existing Rete
network.
public Builder(RuleBaseContext ruleBaseContext)
Builder
against an existing Rete
network.
Method Detail |
public RuleBase buildRuleBase()
RuleBase
.
public void setFactHandleFactory(FactHandleFactory factHandleFactory)
FactHandleFactory
.
factHandleFactory
- The fact handle factory.public void setConflictResolver(ConflictResolver conflictResolver)
ConflictResolver
.
conflictResolver
- The conflict resolver.public void addRuleSet(RuleSet ruleSet) throws RuleIntegrationException, RuleSetIntegrationException
RuleSet
to the network.
RuleIntegrationException
- if an error prevents complete construction of the network for
the Rule
.
RuleSetIntegrationException
ruleSet
- The rule-set to add.protected void addRule(Rule rule) throws RuleIntegrationException
Rule
to the network.
RuleIntegrationException
- if an error prevents complete construction of the network for
the Rule
.rule
- The rule to add.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |