|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.
RuleBaseBuilder.build()
,
RuleSet
,
RuleBase
![]() |
![]() |
Constructor Summary | |
RuleBaseBuilder()
Construct. |
|
RuleBaseBuilder(RuleBaseContext ruleBaseContext)
Construct. |
Method Summary | |
void |
addRuleSet(RuleSet ruleSet)
Add a RuleSet . |
RuleBase |
build()
Build the RuleBase .
|
void |
setConflictResolver(ConflictResolver conflictResolver)
|
void |
setFactHandleFactory(FactHandleFactory factHandleFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RuleBaseBuilder()
public RuleBaseBuilder(RuleBaseContext ruleBaseContext)
Method Detail |
public void addRuleSet(RuleSet ruleSet) throws RuleSetIntegrationException, RuleIntegrationException
RuleSet
.
RuleIntegrationException
- If an error occurs while attempting to integrate the rules
into the Rete network..
RuleSetIntegrationException
ruleSet
- The rule-set to add.public RuleBase build()
RuleBase
.
Builds the RuleBase
based upon all previously added
RuleSet
s.
RuleBaseBuilder.addRuleSet(org.drools.rule.RuleSet)
public void setFactHandleFactory(FactHandleFactory factHandleFactory)
public void setConflictResolver(ConflictResolver conflictResolver)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |