[jboss-jira] [JBoss JIRA] Created: (JBRULES-1566) Documentation on update()

Steve Miner (JIRA) jira-events at lists.jboss.org
Wed Apr 16 13:15:55 EDT 2008


Documentation on update()
-------------------------

                 Key: JBRULES-1566
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1566
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Documentation
    Affects Versions: 4.0.6
         Environment: HTML doc
            Reporter: Steve Miner
         Assigned To: Mark Proctor
            Priority: Minor


in section 6.5.3. The Right Hand Side (then)
...
"update(object, handle);" will tell the engine that an object has changed (one that has been bound to something on the LHS) and rules may need to be reconsidered.

Actually, update(object) will work most of the time.  And update(handle, object) is appropriate when you want to replace the object with a new one.  Notice the order of the arguments.  (Java)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list