|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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 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
,
DefaultConflictResolver
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
WorkingMemory 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.ClassNotFoundException
WorkingMemory
,
DefaultConflictResolver
WorkingMemory 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.ClassNotFoundException
WorkingMemory
,
DefaultConflictResolver
Package[] getPackages()
void addPackage(Package pkg) throws java.lang.Exception
java.lang.Exception
void 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 All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |