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.33 2004/11/28 20:01:12 mproctor Exp $
Author:
bob mcwhirter
See Also:
WorkingMemory

Method Summary
 ConflictResolver getConflictResolver()
          Retrieve the ConflictResolver.
 FactHandleFactory getFactHandleFactory()
          Retrieve the FactHandleFactor.
 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 List getRuleSets()


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