The Javadoc for jess.Activation includes the public method
Token getToken()
Get the Rete network Token that caused this Activation.
The Javadoc for jess.Token includes
int size()
Returns the number of facts in this token
and
Fact fact(int i)
Return a fact from this token
I think [EMAIL PROTECTED] wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi all,
>
> I am trying to create a log of jess events. The object that comes with DEFRULE_FIRED
>event is an instance of class Activation. I was wondering if there was any way I
>could use this object to get a list of facts that the rule fired on.
>
> Thanks
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------