Package org.drools.core.audit

Examples of org.drools.core.audit.WorkingMemoryLog


            ObjectInputStream in = xstream.createObjectInputStream( new FileReader(logFileName) );
            try {
                while (true) {
                    Object object = in.readObject();
                    if (object instanceof WorkingMemoryLog) {
                      WorkingMemoryLog log = (WorkingMemoryLog) object;
                      eventList = log.getEvents();
                      phreak = log.getEngine().equalsIgnoreCase("PHREAK");
                      break;
                    }
                    if (object instanceof LogEvent) {
                        eventList.add((LogEvent) object);
                    } else if (object instanceof List) {
View Full Code Here


            ObjectInputStream in = xstream.createObjectInputStream( new FileReader(logFileName) );
            try {
                while (true) {
                  Object object = in.readObject();
                    if (object instanceof WorkingMemoryLog) {
                      WorkingMemoryLog log = (WorkingMemoryLog) object;
                      eventList.addAll(log.getEvents());
                      phreak |= log.getEngine().equalsIgnoreCase("PHREAK");
                    } else if (object instanceof LogEvent) {
                        eventList.add((LogEvent) object);
                    } else if (object instanceof List) {
                        drools4 = true;
                        eventList.addAll((List<LogEvent>) object);
View Full Code Here

TOP

Related Classes of org.drools.core.audit.WorkingMemoryLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.