当前页面:
在线文档首页 >
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
Methods inherited from interface org.drools.RuleBase |
addPackage, addProcess, getPackages, getProcess, getStatefulSessions, newStatefulSession, newStatefulSession, newStatefulSession, newStatefulSession, newStatelessSession, removePackage, removeProcess, removeRule |
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.