|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.audit.event.LogEvent
org.drools.audit.event.ObjectLogEvent
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.

| Field Summary |
| Fields inherited from class org.drools.audit.event.LogEvent |
ACTIVATION_CANCELLED, ACTIVATION_CREATED, AFTER_ACTIVATION_FIRE, BEFORE_ACTIVATION_FIRE, OBJECT_ASSERTED, OBJECT_MODIFIED, OBJECT_RETRACTED |
| Constructor Summary | |
ObjectLogEvent(int type,
long factId,
java.lang.String objectToString)
Create a new activation log event. |
|
| Method Summary | |
long |
getFactId()
Returns the fact id of the object this event is about. |
java.lang.String |
getObjectToString()
Returns a toString of the fact this event is about at the time the event was created. |
| Methods inherited from class org.drools.audit.event.LogEvent |
getType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ObjectLogEvent(int type,
long factId,
java.lang.String objectToString)
type - The type of event. This can only be LogEvent.OBJECT_ASSERTED,
LogEvent.OBJECT_MODIFIED or LogEvent.OBJECT_RETRACTED.factId - The id of the factobjectToString - A toString of the fact| Method Detail |
public long getFactId()
public java.lang.String getObjectToString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||