org.drools.audit.event
Class RuleBaseLogEvent

java.lang.Object
  extended by org.drools.audit.event.LogEvent
      extended by org.drools.audit.event.RuleBaseLogEvent

public class RuleBaseLogEvent
extends LogEvent

A rulebase event logged by the WorkingMemoryLogger. It is a snapshot of the event as it was thrown by the rulebase.

Author:
etirelli

Field Summary
 
Fields inherited from class org.drools.audit.event.LogEvent
ACTIVATION_CANCELLED, ACTIVATION_CREATED, AFTER_ACTIVATION_FIRE, AFTER_PACKAGE_ADDED, AFTER_PACKAGE_REMOVED, AFTER_RULE_ADDED, AFTER_RULE_REMOVED, BEFORE_ACTIVATION_FIRE, BEFORE_PACKAGE_ADDED, BEFORE_PACKAGE_REMOVED, BEFORE_RULE_ADDED, BEFORE_RULE_REMOVED, INSERTED, RETRACTED, RULEFLOW_COMPLETED, RULEFLOW_CREATED, RULEFLOW_GROUP_ACTIVATED, RULEFLOW_GROUP_DEACTIVATED, UPDATED
 
Constructor Summary
RuleBaseLogEvent(int type, java.lang.String packageName, java.lang.String ruleName)
          Create a new activation log event.
 
Method Summary
 java.lang.String getPackageName()
          Returns the Package Name
 java.lang.String getRuleName()
          Returns the name of the rule
 java.lang.String toString()
           
 
Methods inherited from class org.drools.audit.event.LogEvent
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleBaseLogEvent

public RuleBaseLogEvent(int type,
                        java.lang.String packageName,
                        java.lang.String ruleName)
Create a new activation log event.

Parameters:
type - The type of event.
packageName - The name of the package
ruleName - The name of the rule
Method Detail

getPackageName

public java.lang.String getPackageName()
Returns the Package Name

Returns:
The name of the package

getRuleName

public java.lang.String getRuleName()
Returns the name of the rule

Returns:
The name of the rule

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object