org.drools.jsr94.rules
Class JSR94WorkingMemory

java.lang.Object
  |
  +--org.drools.WorkingMemory
        |
        +--org.drools.jsr94.rules.JSR94WorkingMemory

public class JSR94WorkingMemory
extends WorkingMemory

Provide access to the list of objects currently asserted to the working memory.

Author:
thomas diesler

Method Summary
 void assertObject(java.lang.Object object)
          Assert a new fact object into this working memory.
 void retractObject(java.lang.Object object)
          Retract a fact object from this working memory.
 
Methods inherited from class org.drools.WorkingMemory
getAgenda, getApplicationData, getJoinMemory, getRuleBase, modifyObject, setApplicationData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

assertObject

public void assertObject(java.lang.Object object)
                  throws AssertionException
Assert a new fact object into this working memory.
Overrides:
assertObject in class WorkingMemory
Parameters:
object - The object to assert.
Throws:
AssertionException - if an error occurs during assertion.

retractObject

public void retractObject(java.lang.Object object)
                   throws RetractionException
Retract a fact object from this working memory.
Overrides:
retractObject in class WorkingMemory
Parameters:
object - The object to retract.
Throws:
RetractionException - if an error occurs during retraction.


Copyright © 2001-2003 The Werken Company. All Rights Reserved.