|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RuleBase
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 |
|---|
static final int RETEOO
static final int LEAPS
| Method Detail |
|---|
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,
DefaultConflictResolverWorkingMemory 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,
DefaultConflictResolverWorkingMemory newWorkingMemory(java.io.InputStream stream) throws java.io.IOException, java.lang.ClassNotFoundException
The created WorkingMemory uses the default conflict
resolution strategy.
WorkingMemory.
java.io.IOException
java.lang.ClassNotFoundExceptionWorkingMemory,
DefaultConflictResolverWorkingMemory newWorkingMemory(java.io.InputStream stream, boolean keepReference) throws java.io.IOException, java.lang.ClassNotFoundException
The created WorkingMemory uses the default conflict
resolution strategy.
WorkingMemory.
java.io.IOException
java.lang.ClassNotFoundExceptionWorkingMemory,
DefaultConflictResolverPackage[] getPackages()
void addPackage(Package pkg) throws java.lang.Exception
java.lang.Exceptionvoid removePackage(java.lang.String packageName)
void removeRule(java.lang.String packageName,
java.lang.String ruleName)
java.util.Set getWorkingMemories()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||