Class 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.
    • 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

      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Overrides:
        readExternal in class LogEvent
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Overrides:
        writeExternal in class LogEvent
        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:
        toString in class java.lang.Object