当前页面:
在线文档首页 >
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
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.