|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.util.BinaryRuleBaseLoader
public class BinaryRuleBaseLoader
This loads up rulebases from binary packages. Can work with an existing or a new rulebase. This is useful for deployment.
Constructor Summary | |
---|---|
BinaryRuleBaseLoader()
This will create a new default rulebase (which is initially empty). |
|
BinaryRuleBaseLoader(RuleBase rb)
This will add any binary packages to the rulebase. |
Method Summary | |
---|---|
void |
addPackage(InputStream in)
This will add the BINARY package to the rulebase. |
RuleBase |
getRuleBase()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryRuleBaseLoader()
public BinaryRuleBaseLoader(RuleBase rb)
Method Detail |
---|
public void addPackage(InputStream in)
in
- An input stream to the serialized package.public RuleBase getRuleBase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |