Package org.drools.core.impl
Interface InternalRuleBase
- All Superinterfaces:
RuleBase
- All Known Implementing Classes:
KnowledgeBaseImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddProcess(Process process) voiddefault voidafterIncrementalUpdate(KieBaseUpdate kieBaseUpdate) default voidbeforeIncrementalUpdate(KieBaseUpdate kieBaseUpdate) createSegmentFromPrototype(ReteEvaluator reteEvaluator, LeftTupleSource tupleSource) createSegmentFromPrototype(ReteEvaluator reteEvaluator, SegmentMemory.SegmentPrototype smem) voidgetExactTypeDeclaration(Class<?> clazz) getFactType(String packageName, String typeName) getKiePackage(String packageName) intintgetOrCreateExactTypeDeclaration(Class<?> clazz) intgetProcess(String processId) getRete()getSegmentPrototype(SegmentMemory segment) getTypeDeclaration(Class<?> clazz) default intbooleanbooleanbooleanhasUnits()voidinvalidateSegmentPrototype(LeftTupleNode rootNode) booleannewFactHandleFactory(long id, long counter) voidvoidreadLock()voidvoidClass<?>registerAndLoadTypeDefinition(String className, byte[] def) voidvoidregisterSegmentPrototype(LeftTupleNode tupleSource, SegmentMemory.SegmentPrototype smem) voidregisterTypeDeclaration(TypeDeclaration newDecl, InternalKnowledgePackage newPkg) voidremoveFunction(String packageName, String functionName) voidremoveGlobal(String identifier) voidremoveKiePackage(String packageName) booleanremoveObjectsGeneratedFromResource(Resource resource, Collection<InternalWorkingMemory> workingMemories) voidremoveProcess(String processId) voidremoveQuery(String packageName, String queryName) voidremoveRule(String packageName, String ruleName) voidsetResolvedReleaseId(ReleaseId currentReleaseId) Methods inherited from interface org.drools.base.RuleBase
addPackage, addPackages, addRules, getContainerId, getGlobals, getId, getPackage, getPackages, getPackagesMap, removeRules, setContainerId
-
Method Details
-
getKiePackages
Collection<KiePackage> getKiePackages() -
getKiePackage
-
removeKiePackage
-
getRule
-
removeRule
-
getQuery
-
removeQuery
-
removeFunction
-
getFactType
-
getProcess
-
getProcesses
Collection<Process> getProcesses() -
addProcess
-
removeProcess
-
getEntryPointIds
-
createNewPartitionId
RuleBasePartitionId createNewPartitionId() -
isPartitioned
boolean isPartitioned() -
getParallelEvaluationSlotsCount
int getParallelEvaluationSlotsCount() -
getRuleBaseConfiguration
RuleBaseConfiguration getRuleBaseConfiguration() -
getKieBaseConfiguration
KieBaseConfigurationImpl getKieBaseConfiguration() -
getConfiguration
KieBaseConfiguration getConfiguration()- Specified by:
getConfigurationin interfaceRuleBase
-
readLock
void readLock() -
readUnlock
void readUnlock() -
newFactHandleFactory
FactHandleFactory newFactHandleFactory() -
newFactHandleFactory
- Throws:
IOException
-
getNodeCount
int getNodeCount() -
getMemoryCount
int getMemoryCount() -
executeQueuedActions
void executeQueuedActions() -
getReteooBuilder
ReteooBuilder getReteooBuilder() -
registerAddedEntryNodeCache
-
getAddedEntryNodeCache
Set<EntryPointNode> getAddedEntryNodeCache() -
registeRremovedEntryNodeCache
-
getRemovedEntryNodeCache
Set<EntryPointNode> getRemovedEntryNodeCache() -
getRete
Rete getRete() -
getRootClassLoader
ClassLoader getRootClassLoader()- Specified by:
getRootClassLoaderin interfaceRuleBase
-
registerAndLoadTypeDefinition
- Throws:
ClassNotFoundException
-
getClassFieldAccessorCache
ClassFieldAccessorCache getClassFieldAccessorCache() -
invalidateSegmentPrototype
-
createSegmentFromPrototype
-
createSegmentFromPrototype
SegmentMemory createSegmentFromPrototype(ReteEvaluator reteEvaluator, SegmentMemory.SegmentPrototype smem) -
getSegmentPrototype
-
getSegmentPrototype
-
hasSegmentPrototypes
boolean hasSegmentPrototypes() -
processAllTypesDeclaration
-
beforeIncrementalUpdate
-
afterIncrementalUpdate
-
addGlobal
-
removeGlobal
-
removeObjectsGeneratedFromResource
boolean removeObjectsGeneratedFromResource(Resource resource, Collection<InternalWorkingMemory> workingMemories) -
getTypeDeclaration
- Specified by:
getTypeDeclarationin interfaceRuleBase
-
getExactTypeDeclaration
-
getOrCreateExactTypeDeclaration
- Specified by:
getOrCreateExactTypeDeclarationin interfaceRuleBase
-
getTypeDeclarations
Collection<TypeDeclaration> getTypeDeclarations() -
registerTypeDeclaration
-
getResolvedReleaseId
ReleaseId getResolvedReleaseId() -
setResolvedReleaseId
-
getRuleUnitDescriptionRegistry
RuleUnitDescriptionRegistry getRuleUnitDescriptionRegistry() -
hasUnits
boolean hasUnits() -
getSessionConfiguration
KieSessionConfiguration getSessionConfiguration() -
getReceiveNodes
List<AsyncReceiveNode> getReceiveNodes() -
addReceiveNode
-
hasMultipleAgendaGroups
boolean hasMultipleAgendaGroups() -
getWorkingMemoryCounter
default int getWorkingMemoryCounter() -
registerSegmentPrototype
-