public interface InternalRuleBase extends RuleBase
addPackage, addPackages, getAdditionsSinceLock, getEntryPointIds, getFactType, getPackages, getRemovalsSinceLock, getStatefulSessions, lock, newStatefulSession, newStatefulSession, newStatefulSession, newStatefulSession, newStatefulSession, newStatefulSession, newStatelessSession, removeFunction, removePackage, removeProcess, removeQuery, removeRule, unlock
readExternal, writeExternal
addEventListener, getRuleBaseEventListeners, removeEventListener
String getId()
int nextWorkingMemoryCounter()
FactHandleFactory newFactHandleFactory()
FactHandleFactory newFactHandleFactory(int id, long counter) throws IOException
IOException
RuleBaseConfiguration getConfiguration()
Package getPackage(String name)
getPackage
in interface RuleBase
void disposeStatefulSession(StatefulSession statefulSession)
void executeQueuedActions()
ReteooBuilder getReteooBuilder()
void assertObject(FactHandle handle, Object object, PropagationContext context, InternalWorkingMemory workingMemory) throws FactException
handle
- The handle.object
- The fact.workingMemory
- The working-memory.FactException
- If an error occurs while performing the assertion.void retractObject(FactHandle handle, PropagationContext context, AbstractWorkingMemory workingMemory) throws FactException
handle
- The handle.workingMemory
- The working-memory.FactException
- If an error occurs while performing the retraction.ClassLoader getRootClassLoader()
Rete getRete()
InternalWorkingMemory[] getWorkingMemories()
org.kie.api.definition.process.Process getProcess(String id)
org.kie.api.definition.process.Process[] getProcesses()
boolean isEvent(Class<?> clazz)
clazz
- int getNodeCount()
TypeDeclaration getTypeDeclaration(Class<?> clazz)
clazz
- Collection<TypeDeclaration> getTypeDeclarations()
RuleBasePartitionId createNewPartitionId()
List<RuleBasePartitionId> getPartitionIds()
void readLock()
void readUnlock()
void registerAddedEntryNodeCache(EntryPointNode node)
Set<EntryPointNode> getAddedEntryNodeCache()
void registeRremovedEntryNodeCache(EntryPointNode node)
Set<EntryPointNode> getRemovedEntryNodeCache()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.