On Thu, May 6, 2010 at 8:56 PM, mikexr <[email protected]> wrote:
>
>
>
> WorkingMemory workingMemory = ruleBase.newStatefulSession();
> Object fact = new Object();
> fact.equals(enrollment);
> System.out.println("Inserting fact: " + fact);
> workingMemory.insert(fact);
>
These lines are strange:
- Inserting a plain Object?
- Why call equals()?
> System.out.println("Firing Rules");
> workingMemory.fireAllRules();
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users