|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleBase
Active collection of Rule
s.
From a RuleBase
many WorkingMemory
rule
sessions may be instantiated. Additionally, it may be inspected to determine
which RuleSet
s it contains.
WorkingMemory
Method Summary | |
---|---|
ConflictResolver |
getConflictResolver()
Retrieve the ConflictResolver . |
WorkingMemory |
getCurrentThreadWorkingMemory()
Get or create a WorkingMemory session for this
RuleBase and the current thread. |
RuleBaseContext |
getRuleBaseContext()
|
java.util.List |
getRuleSets()
|
WorkingMemory |
newWorkingMemory()
Create a new WorkingMemory session for this
RuleBase . |
Method Detail |
---|
WorkingMemory newWorkingMemory()
WorkingMemory
session for this
RuleBase
.
The created WorkingMemory
uses the default conflict
resolution strategy.
WorkingMemory
.WorkingMemory
,
DefaultConflictResolver
ConflictResolver getConflictResolver()
ConflictResolver
.
java.util.List getRuleSets()
RuleBaseContext getRuleBaseContext()
WorkingMemory getCurrentThreadWorkingMemory()
WorkingMemory
session for this
RuleBase
and the current thread.
This is useful for web application users, and allows a long running working memory
that will be garbage collected when the thread ends. Uses a ThreadLocal
instance.
The created WorkingMemory
uses the default conflict
resolution strategy.
WorkingMemory
or a new one if the current thread did
not have a working memory assigned.WorkingMemory
,
DefaultConflictResolver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |