当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
LogEvent (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.audit.event
Class LogEvent
java.lang.Object
org.drools.audit.event.LogEvent
- Direct Known Subclasses:
- ActivationLogEvent, ObjectLogEvent
public class LogEvent
- extends Object
An event logged by the WorkingMemoryLogger.
It is a snapshot of the event as it was thrown by the working memory.
- Author:
- Kris Verlaenen
Constructor Summary |
LogEvent(int type)
Creates a new log event. |
Method Summary |
int |
getType()
Returns the type of the log event as defined in this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_ASSERTED
public static final int OBJECT_ASSERTED
- See Also:
- Constant Field Values
OBJECT_MODIFIED
public static final int OBJECT_MODIFIED
- See Also:
- Constant Field Values
OBJECT_RETRACTED
public static final int OBJECT_RETRACTED
- See Also:
- Constant Field Values
ACTIVATION_CREATED
public static final int ACTIVATION_CREATED
- See Also:
- Constant Field Values
ACTIVATION_CANCELLED
public static final int ACTIVATION_CANCELLED
- See Also:
- Constant Field Values
BEFORE_ACTIVATION_FIRE
public static final int BEFORE_ACTIVATION_FIRE
- See Also:
- Constant Field Values
AFTER_ACTIVATION_FIRE
public static final int AFTER_ACTIVATION_FIRE
- See Also:
- Constant Field Values
LogEvent
public LogEvent(int type)
- Creates a new log event.
- Parameters:
type
- The type of the log event. This can be OBJECT_ASSERTED,
OBJECT_MODIFIED, OBJECT_RETRACTED, ACTIVATION_CREATED, ACTIVATION_CANCELLED,
BEFORE_ACTIVATION_FIRE or AFTER_ACTIVATION_FIRE.
getType
public int getType()
- Returns the type of the log event as defined in this class.
- Returns:
- The type of the log event.
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.