org.drools
Class RuleBaseFactory

java.lang.Object
  extended by org.drools.RuleBaseFactory

public class RuleBaseFactory
extends 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)
           
static RuleBase newRuleBase(int type, RuleBaseConfiguration config)
          Create a new RuleBase of the appropriate type
static RuleBase newRuleBase(RuleBaseConfiguration config)
           
static RuleBase newRuleBase(String rulebaseId)
           
static RuleBase newRuleBase(String rulebaseId, int type)
           
static RuleBase newRuleBase(String rulebaseId, int type, RuleBaseConfiguration config)
          Create a new RuleBase of the appropriate type
static RuleBase newRuleBase(String rulebaseId, RuleBaseConfiguration config)
           
 
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(String rulebaseId)

newRuleBase

public static RuleBase newRuleBase(RuleBaseConfiguration config)

newRuleBase

public static RuleBase newRuleBase(String rulebaseId,
                                   RuleBaseConfiguration config)

newRuleBase

public static RuleBase newRuleBase(String rulebaseId,
                                   int type)

newRuleBase

public static RuleBase newRuleBase(int type)

newRuleBase

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


newRuleBase

public static RuleBase newRuleBase(String rulebaseId,
                                   int type,
                                   RuleBaseConfiguration config)
Create a new RuleBase of the appropriate type



Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.