org.drools
Class RuleBaseFactory

java.lang.Object
  extended byorg.drools.RuleBaseFactory

public class RuleBaseFactory
extends java.lang.Object

This is a utility to create rule bases based on the type of engine you wish to use.

 

Method Summary
static RuleBaseFactory getInstance()
           
static RuleBase newRuleBase()
          Create a new default rule base (RETEOO type engine)
static RuleBase newRuleBase(int type)
          Create a new RuleBase of the appropriate type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RuleBaseFactory getInstance()

newRuleBase

public static RuleBase newRuleBase()
Create a new default rule base (RETEOO type engine)


newRuleBase

public static RuleBase newRuleBase(int type)
Create a new RuleBase of the appropriate type