Package org.drools.kiesession.audit
Class RuleBaseLogEvent
- java.lang.Object
-
- org.drools.kiesession.audit.LogEvent
-
- org.drools.kiesession.audit.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.
-
-
Field Summary
-
Fields inherited from class org.drools.kiesession.audit.LogEvent
ACTIVATION_CANCELLED, ACTIVATION_CREATED, AFTER_ACTIVATION_FIRE, AFTER_PACKAGE_ADDED, AFTER_PACKAGE_REMOVED, AFTER_RULE_ADDED, AFTER_RULE_REMOVED, AFTER_RULEFLOW_COMPLETED, AFTER_RULEFLOW_CREATED, AFTER_RULEFLOW_GROUP_ACTIVATED, AFTER_RULEFLOW_GROUP_DEACTIVATED, AFTER_RULEFLOW_NODE_EXITED, AFTER_RULEFLOW_NODE_TRIGGERED, AFTER_TASK_INSTANCE_COMPLETED, AFTER_TASK_INSTANCE_CREATED, AFTER_VARIABLE_INSTANCE_CHANGED, BEFORE_ACTIVATION_FIRE, BEFORE_PACKAGE_ADDED, BEFORE_PACKAGE_REMOVED, BEFORE_RULE_ADDED, BEFORE_RULE_REMOVED, BEFORE_RULEFLOW_COMPLETED, BEFORE_RULEFLOW_CREATED, BEFORE_RULEFLOW_GROUP_ACTIVATED, BEFORE_RULEFLOW_GROUP_DEACTIVATED, BEFORE_RULEFLOW_NODE_EXITED, BEFORE_RULEFLOW_NODE_TRIGGERED, BEFORE_TASK_INSTANCE_COMPLETED, BEFORE_TASK_INSTANCE_CREATED, BEFORE_VARIABLE_INSTANCE_CHANGED, INSERTED, RETRACTED, UPDATED
-
-
Constructor Summary
Constructors Constructor Description RuleBaseLogEvent(int type, java.lang.String packageName, java.lang.String ruleName)Create a new activation log event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPackageName()Returns the Package Namejava.lang.StringgetRuleName()Returns the name of the rulevoidreadExternal(java.io.ObjectInput in)java.lang.StringtoString()voidwriteExternal(java.io.ObjectOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Overrides:
readExternalin classLogEvent- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Overrides:
writeExternalin classLogEvent- Throws:
java.io.IOException
-
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:
toStringin classjava.lang.Object
-
-