站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

InternalRuleBase - JBoss RULES 3.0.6 API 英文版文档


org.drools.common
Interface InternalRuleBase

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

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

FactHandleFactory newFactHandleFactory()

getGlobals

java.util.Map getGlobals()

getConfiguration

RuleBaseConfiguration getConfiguration()

disposeWorkingMemory

void disposeWorkingMemory(WorkingMemory workingMemory)

assertObject

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

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

modifyObject

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

retractObject

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

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