org.drools.common
Interface InternalRuleBase
- All Superinterfaces:
- RuleBase, java.io.Serializable
- All Known Implementing Classes:
- AbstractRuleBase
- public interface InternalRuleBase
- extends RuleBase
-
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.