org.drools
Interface RuleBase

All Superinterfaces:
java.io.Serializable

public interface RuleBase
extends java.io.Serializable

Active collection of Rules.

From a RuleBase many WorkingMemory rule sessions may be instantiated. Additionally, it may be inspected to determine which RuleSet s it contains.

See Also:
WorkingMemory
 

Method Summary
 ConflictResolver getConflictResolver()
          Retrieve the ConflictResolver.
 FactHandleFactory getFactHandleFactory()
          Retrieve the FactHandleFactor.
 RuleBaseContext getRuleBaseContext()
           
 java.util.List getRuleSets()
           
 WorkingMemory newWorkingMemory()
          Create a new WorkingMemory session for this RuleBase.
 

Method Detail

newWorkingMemory

public WorkingMemory newWorkingMemory()
Create a new WorkingMemory session for this RuleBase.

The created WorkingMemory uses the default conflict resolution strategy.

Returns:
A newly initialized WorkingMemory.
See Also:
WorkingMemory, DefaultConflictResolver

getConflictResolver

public ConflictResolver getConflictResolver()
Retrieve the ConflictResolver.

Returns:
The conflict resolution strategy.

getFactHandleFactory

public FactHandleFactory getFactHandleFactory()
Retrieve the FactHandleFactor.

Returns:
The fact handle factory.

getRuleSets

public java.util.List getRuleSets()

getRuleBaseContext

public RuleBaseContext getRuleBaseContext()