|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalRuleBase
Field Summary |
---|
Fields inherited from interface org.drools.RuleBase |
---|
RETEOO |
Method Summary | |
---|---|
void |
assertObject(FactHandle handle,
Object object,
PropagationContext context,
InternalWorkingMemory workingMemory)
Assert a fact object. |
RuleBasePartitionId |
createNewPartitionId()
Creates and allocates a new partition ID for this rulebase |
void |
disposeStatefulSession(StatefulSession statefulSession)
|
void |
executeQueuedActions()
|
Map |
getAgendaGroupRuleTotals()
|
RuleBaseConfiguration |
getConfiguration()
|
Map |
getGlobals()
|
String |
getId()
|
int |
getNodeCount()
|
Package |
getPackage(String name)
|
Map |
getPackagesMap()
|
List<RuleBasePartitionId> |
getPartitionIds()
Return the list of Partition IDs for this rulebase |
org.drools.definition.process.Process |
getProcess(String id)
|
org.drools.definition.process.Process[] |
getProcesses()
|
Rete |
getRete()
|
ReteooBuilder |
getReteooBuilder()
|
org.drools.util.CompositeClassLoader |
getRootClassLoader()
|
TypeDeclaration |
getTypeDeclaration(Class<?> clazz)
Returns the type declaration associated to the given class |
Collection<TypeDeclaration> |
getTypeDeclarations()
Returns a collection with all TypeDeclarations in this rulebase |
InternalWorkingMemory[] |
getWorkingMemories()
|
boolean |
isEvent(Class<?> clazz)
Returns true if clazz represents an Event class. |
FactHandleFactory |
newFactHandleFactory()
|
FactHandleFactory |
newFactHandleFactory(int id,
long counter)
|
int |
nextWorkingMemoryCounter()
|
void |
readLock()
Acquires a read lock on the rulebase |
void |
readUnlock()
Releases a read lock on the rulebase |
void |
retractObject(FactHandle handle,
PropagationContext context,
ReteooWorkingMemory workingMemory)
Retract a fact object. |
Methods inherited from interface org.drools.RuleBase |
---|
addPackage, addPackages, getAdditionsSinceLock, getFactType, getPackages, getRemovalsSinceLock, getStatefulSessions, lock, newStatefulSession, newStatefulSession, newStatefulSession, newStatefulSession, newStatefulSession, newStatelessSession, removeFunction, removePackage, removeProcess, removeQuery, removeRule, unlock |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Methods inherited from interface org.drools.RuleBaseEventManager |
---|
addEventListener, getRuleBaseEventListeners, removeEventListener |
Method Detail |
---|
String getId()
int nextWorkingMemoryCounter()
FactHandleFactory newFactHandleFactory()
FactHandleFactory newFactHandleFactory(int id, long counter) throws IOException
IOException
Map getGlobals()
Map getAgendaGroupRuleTotals()
RuleBaseConfiguration getConfiguration()
Package getPackage(String name)
getPackage
in interface RuleBase
Map getPackagesMap()
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, ReteooWorkingMemory workingMemory) throws FactException
handle
- The handle.workingMemory
- The working-memory.
FactException
- If an error occurs while performing the retraction.org.drools.util.CompositeClassLoader getRootClassLoader()
Rete getRete()
InternalWorkingMemory[] getWorkingMemories()
org.drools.definition.process.Process getProcess(String id)
org.drools.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |