|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.compiler.RuleBaseLoader
public class RuleBaseLoader
A high level helper class for creating rulebases from source. For additional control, refer to the DrlParser and PackageBuilder classes. You can have much more detailed control with the lower level classes.
Method Summary | |
---|---|
static RuleBaseLoader |
getInstance()
Get an instance of the loader |
RuleBase |
loadFromReader(Reader drl)
Create a new RuleBase from the drl source. |
RuleBase |
loadFromReader(Reader drl,
Reader dsl)
Create a new RuleBase from the drl and dsl source. |
void |
setDefaultEngineType(int type)
Replace the default engine type that will be used (default is RETEOO) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RuleBaseLoader getInstance()
public RuleBase loadFromReader(Reader drl) throws CheckedDroolsException, IOException
CheckedDroolsException
IOException
public RuleBase loadFromReader(Reader drl, Reader dsl) throws CheckedDroolsException, IOException
CheckedDroolsException
IOException
public void setDefaultEngineType(int type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |