Hello,
I've come across the need to be able to differentiate between facts that are
logically retracted for good and those that are retracted for a modification.
I've added some code to change the modify command so that it call a variant of
the retract interface on the Rete engine called modify. As you'll see I've
converted a copy of each overloaded retract to a modify and had them call the
braodcastEvent method with an added mask JessEvent.FOR_MODIFICATION.
Changes are in JessEvent.java, Rete.java and Funcall.java. This was done
sloppilly yet with caution. I took care to make sure that the change could not
possible effect any internal listeners. It works w/o problems but I'm sure the
"modifaction" can be made denser.
Hope this serves a need,
Alex O. Karasulu
Funcall.java
JessEvent.java
Rete.java