org.drools
Interface RuleBase

All Superinterfaces:
Serializable
All Known Implementing Classes:
RuleBaseImpl

public interface RuleBase
extends 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.

Version:
$Id: RuleBase.java,v 1.37 2005/02/02 00:23:21 mproctor Exp $
Author:
bob mcwhirter
See Also:
WorkingMemory

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

Method Detail

newWorkingMemory

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

ConflictResolver getConflictResolver()
Retrieve the ConflictResolver.

Returns:
The conflict resolution strategy.

getFactHandleFactory

FactHandleFactory getFactHandleFactory()
Retrieve the FactHandleFactor.

Returns:
The fact handle factory.

getRuleSets

List getRuleSets()

getRuleBaseContext

RuleBaseContext getRuleBaseContext()


Copyright © 2001-2005 The Codehaus. All Rights Reserved.