|
Drools :: Compiler 6.0.0.CR5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.compiler.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 |
org.drools.core.RuleBase |
loadFromReader(Reader drl)
Create a new RuleBase from the drl source. |
org.drools.core.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 org.drools.core.RuleBase loadFromReader(Reader drl)
throws org.drools.core.CheckedDroolsException,
IOException
org.drools.core.CheckedDroolsException
IOException
public org.drools.core.RuleBase loadFromReader(Reader drl,
Reader dsl)
throws org.drools.core.CheckedDroolsException,
IOException
org.drools.core.CheckedDroolsException
IOExceptionpublic void setDefaultEngineType(int type)
|
Drools :: Compiler 6.0.0.CR5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||