Class ObjectLogEvent


  • public class ObjectLogEvent
    extends LogEvent
    An object event logged by the WorkingMemoryLogger. It is a snapshot of the event as it was thrown by the working memory. It contains the fact id and a String represention of the object at the time the event was logged.
    • Constructor Detail

      • ObjectLogEvent

        public ObjectLogEvent​(int type,
                              long factId,
                              String objectToString)
        Create a new activation log event.
        Parameters:
        type - The type of event. This can only be LogEvent.OBJECT_ASSERTED, LogEvent.OBJECT_MODIFIED or LogEvent.OBJECT_RETRACTED.
        factId - The id of the fact
        objectToString - A toString of the fact