|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.RuleBaseBuilder
Factory for constructing a RuleBase
.
The RuleBaseBuilder
integrates the added RuleSet
s
into the Rete network. A RuleBaseBuilder
may be re-used
after building a RuleBase
but it may not be used to build multiple
RuleBase
s simultaneously by multiple threads.
build()
,
RuleSet
,
RuleBase
Constructor Summary | |
RuleBaseBuilder()
Construct. |
Method Summary | |
void |
addRuleSet(RuleSet ruleSet)
Add a RuleSet . |
RuleBase |
build()
Build the RuleBase . |
void |
setConflictResolver(ConflictResolver conflictResolver)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RuleBaseBuilder()
Method Detail |
public void addRuleSet(RuleSet ruleSet) throws RuleIntegrationException
RuleSet
.
ruleSet
- The rule-set to add.
RuleIntegrationException
- If an error occurs while attempting
to integrate the rules into the Rete network..public RuleBase build()
RuleBase
.
Builds the RuleBase
based upon all previously added
RuleSet
s.
addRuleSet(org.drools.rule.RuleSet)
public void setConflictResolver(ConflictResolver conflictResolver)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |