You can override the toString method of InputObject to return the type information.
________________________________ From: [EMAIL PROTECTED] To: Rules Users List Sent: Fri Sep 05 22:31:04 2008 Subject: [rules-users] logging with WorkingMemoryEventListener Hello, I want to use WorkingMemoryEventListener and AgendaEventListener for logging. But I have a generic InputObject as fact which has a parameter "type" to disitnguish between different fact types, but all facts are instances of the class InputObject, only the type Paramater has different values. Therefore in the log using DefaultWorkingMemoryEventListener I see only that an Object of class InputObject is inserted but not which type teh Object has. Is it possible to configure the WorkingMemoryEventListener that also the type is logged? Regards Thomas -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
