hi all,
        I have created rules based on a template created from a bean in which i may
use some or all the datamembers of the bean.I am instantiating the bean in
the Java code.From the Rete object instance I could get all the rules that
are activated from listActivations method.

/**************code *********************/
        Rete r = new Rete()
        Iterator e = r.listActivations();
        while(e.hasNext())
        {
                Activation a = (Activation) e.next();
                Defrule dr = a.getRule();
                //Problem is here.
                String str  = dr.listNodes();
        }

//Problem is here
1)
Now from the Defrule object obtained i wanted to get all the individual
facts in that rule as well as their values.
The listNodes() method in HasLHS will give me a string which is not
needed.Can i get individual objects containing values??
2)
can i get all the rules in which atleast one of the fact is fired??how can i
get that??

any help would be greatly appreciated.

regards,
Chaitanya.



---------------------------------------------------------------------
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]
---------------------------------------------------------------------

Reply via email to