|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Active collection of Rules.
From a RuleBase many WorkingMemory rule
sessions may be instantiated. Additionally, it may be inspected to determine
which Package s it contains.
WorkingMemory
![]() |
![]() |
| Field Summary | |
static int |
LEAPS
|
static int |
RETEOO
|
| Method Summary | |
void |
addPackage(Package pkg)
|
Package[] |
getPackages()
|
java.util.Set |
getWorkingMemories()
|
WorkingMemory |
newWorkingMemory()
Create a new WorkingMemory session for this
RuleBase. |
WorkingMemory |
newWorkingMemory(boolean keepReference)
Create a new WorkingMemory session for this
RuleBase. |
WorkingMemory |
newWorkingMemory(java.io.InputStream stream)
RuleBases handle the returning of a Serialized WorkingMemory pass as an InputStream. |
WorkingMemory |
newWorkingMemory(java.io.InputStream stream,
boolean keepReference)
RuleBases handle the returning of a Serialized WorkingMemory pass as an InputStream. |
void |
removePackage(java.lang.String packageName)
|
void |
removeRule(java.lang.String packageName,
java.lang.String ruleName)
|
| Field Detail |
public static final int RETEOO
public static final int LEAPS
| Method Detail |
public WorkingMemory newWorkingMemory()
WorkingMemory session for this
RuleBase. By default the RuleBase retains a
weak reference to returned WorkingMemory.
The created WorkingMemory uses the default conflict
resolution strategy.
WorkingMemory.WorkingMemory,
DefaultConflictResolverpublic WorkingMemory newWorkingMemory(boolean keepReference)
WorkingMemory session for this
RuleBase. Optionally the RuleBase retains a
weak reference to returned WorkingMemory.
The created WorkingMemory uses the default conflict
resolution strategy.
WorkingMemory.WorkingMemory,
DefaultConflictResolver
public WorkingMemory newWorkingMemory(java.io.InputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
The created WorkingMemory uses the default conflict
resolution strategy.
java.io.IOException
java.lang.ClassNotFoundException
WorkingMemory.WorkingMemory,
DefaultConflictResolver
public WorkingMemory newWorkingMemory(java.io.InputStream stream,
boolean keepReference)
throws java.io.IOException,
java.lang.ClassNotFoundException
The created WorkingMemory uses the default conflict
resolution strategy.
java.io.IOException
java.lang.ClassNotFoundException
WorkingMemory.WorkingMemory,
DefaultConflictResolverpublic Package[] getPackages()
public void addPackage(Package pkg)
throws java.lang.Exception
java.lang.Exceptionpublic void removePackage(java.lang.String packageName)
public void removeRule(java.lang.String packageName,
java.lang.String ruleName)
public java.util.Set getWorkingMemories()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||