站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by 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

Field Summary
static int ACTIVATION_CANCELLED
           
static int ACTIVATION_CREATED
           
static int AFTER_ACTIVATION_FIRE
           
static int BEFORE_ACTIVATION_FIRE
           
static int OBJECT_ASSERTED
           
static int OBJECT_MODIFIED
           
static int OBJECT_RETRACTED
           
 
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
 

Field Detail

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
Constructor Detail

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.
Method Detail

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.