| org.drools.RuleBase
RuleBase | public interface RuleBase extends Serializable(Code) | | 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.
See Also: WorkingMemory |
Field Summary | |
final public static int | RETEOO |
RETEOO | final public static int RETEOO(Code) | | |
newStatefulSession | StatefulSession newStatefulSession()(Code) | | Create a new 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.
See Also: WorkingMemory See Also: org.drools.conflict.DefaultConflictResolver A newly initialized WorkingMemory . |
newStatefulSession | StatefulSession newStatefulSession(boolean keepReference)(Code) | | Create a new WorkingMemory session for this
RuleBase . Optionally the RuleBase retains a
weak reference to returned WorkingMemory.
The created WorkingMemory uses the default conflict
resolution strategy.
See Also: WorkingMemory See Also: org.drools.conflict.DefaultConflictResolver A newly initialized WorkingMemory . |
newStatefulSession | StatefulSession newStatefulSession(InputStream stream) throws IOException, ClassNotFoundException(Code) | | RuleBases handle the returning of a Serialized WorkingMemory
pass as an InputStream. If the reference is a byte[] then
wrap with new ByteArrayInputStream. By default the RuleBase retains a
weak reference to returned WorkingMemory.
The created WorkingMemory uses the default conflict
resolution strategy.
See Also: WorkingMemory See Also: org.drools.conflict.DefaultConflictResolver A serialised initialized WorkingMemory . |
newStatefulSession | StatefulSession newStatefulSession(InputStream stream, boolean keepReference) throws IOException, ClassNotFoundException(Code) | | RuleBases handle the returning of a Serialized WorkingMemory
pass as an InputStream. If the reference is a byte[] then
wrap with new ByteArrayInputStream. Optionally the RuleBase retains a
weak reference to returned WorkingMemory.
The created WorkingMemory uses the default conflict
resolution strategy.
See Also: WorkingMemory See Also: org.drools.conflict.DefaultConflictResolver A serialised initialized WorkingMemory . |
|
|