| java.lang.Object org.drools.audit.event.LogEvent org.drools.audit.event.ObjectLogEvent
ObjectLogEvent | public class ObjectLogEvent extends LogEvent (Code) | | 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.
author: Kris Verlaenen |
Constructor Summary | |
public | ObjectLogEvent(int type, long factId, String objectToString) Create a new activation log event.
Parameters: type - The type of event. |
Method Summary | |
public long | getFactId() Returns the fact id of the object this event is about. | public String | getObjectToString() Returns a toString of the fact this event is about at the
time the event was created. | public String | toString() |
ObjectLogEvent | public ObjectLogEvent(int type, long factId, String objectToString)(Code) | | 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. Parameters: factId - The id of the fact Parameters: objectToString - A toString of the fact |
getFactId | public long getFactId()(Code) | | Returns the fact id of the object this event is about.
the id of the fact |
getObjectToString | public String getObjectToString()(Code) | | Returns a toString of the fact this event is about at the
time the event was created.
the toString of the fact |
Methods inherited from org.drools.audit.event.LogEvent | public int getType()(Code)(Java Doc)
|
|
|