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

InternalRuleBase (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.common
Interface InternalRuleBase

All Superinterfaces:
RuleBase, Serializable
All Known Implementing Classes:
AbstractRuleBase, ReteooRuleBase

public interface InternalRuleBase
extends RuleBase


Field Summary
 
Fields inherited from interface org.drools.RuleBase
LEAPS, RETEOO
 
Method Summary
 void assertObject(FactHandle handle, Object object, PropagationContext context, ReteooWorkingMemory workingMemory)
          Assert a fact object.
 void disposeStatefulSession(StatefulSession statefulSession)
           
 RuleBaseConfiguration getConfiguration()
           
 Map getGlobals()
           
 String getId()
           
 FactHandleFactory newFactHandleFactory()
           
 void retractObject(FactHandle handle, PropagationContext context, ReteooWorkingMemory workingMemory)
          Retract a fact object.
 
Methods inherited from interface org.drools.RuleBase
addPackage, addProcess, getPackages, getProcess, getStatefulSessions, newStatefulSession, newStatefulSession, newStatefulSession, newStatefulSession, newStatelessSession, removePackage, removeProcess, removeRule
 

Method Detail

getId

String getId()
Returns:
the id

newFactHandleFactory

FactHandleFactory newFactHandleFactory()

getGlobals

Map getGlobals()

getConfiguration

RuleBaseConfiguration getConfiguration()

disposeStatefulSession

void disposeStatefulSession(StatefulSession statefulSession)

assertObject

void assertObject(FactHandle handle,
                  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.

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.


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.