org.drools.common
Interface InternalRuleBase

All Superinterfaces:
RuleBase, java.io.Serializable
All Known Implementing Classes:
AbstractRuleBase

public interface InternalRuleBase
extends RuleBase

 

Field Summary
 
Fields inherited from interface org.drools.RuleBase
LEAPS, RETEOO
 
Method Summary
 void assertObject(FactHandle handle, java.lang.Object object, PropagationContext context, ReteooWorkingMemory workingMemory)
          Assert a fact object.
 void disposeWorkingMemory(WorkingMemory workingMemory)
           
 RuleBaseConfiguration getConfiguration()
           
 java.util.Map getGlobals()
           
 void modifyObject(FactHandle handle, PropagationContext context, ReteooWorkingMemory workingMemory)
           
 FactHandleFactory newFactHandleFactory()
           
 void retractObject(FactHandle handle, PropagationContext context, ReteooWorkingMemory workingMemory)
          Retract a fact object.
 
Methods inherited from interface org.drools.RuleBase
addPackage, getPackages, getWorkingMemories, newWorkingMemory, newWorkingMemory, newWorkingMemory, newWorkingMemory, removePackage, removeRule
 

Method Detail

newFactHandleFactory

public FactHandleFactory newFactHandleFactory()

getGlobals

public java.util.Map getGlobals()

getConfiguration

public RuleBaseConfiguration getConfiguration()

disposeWorkingMemory

public void disposeWorkingMemory(WorkingMemory workingMemory)

assertObject

public void assertObject(FactHandle handle,
                         java.lang.Object object,
                         PropagationContext context,
                         ReteooWorkingMemory workingMemory)
                  throws FactException
Assert a fact object.

Throws:
FactException - If an error occurs while performing the assertion.
Parameters:
handle - The handle.
object - The fact.
workingMemory - The working-memory.

modifyObject

public void modifyObject(FactHandle handle,
                         PropagationContext context,
                         ReteooWorkingMemory workingMemory)
                  throws FactException
Throws:
FactException

retractObject

public void retractObject(FactHandle handle,
                          PropagationContext context,
                          ReteooWorkingMemory workingMemory)
                   throws FactException
Retract a fact object.

Throws:
FactException - If an error occurs while performing the retraction.
Parameters:
handle - The handle.
workingMemory - The working-memory.