Class RuleFlowGroupLogEvent


  • public class RuleFlowGroupLogEvent
    extends LogEvent
    A ruleflow-group event logged by the WorkingMemoryLogger. It is a snapshot of the event as it was thrown by the working memory. It contains the ruleflow group name and its size.
    • Constructor Detail

      • RuleFlowGroupLogEvent

        public RuleFlowGroupLogEvent​(int type,
                                     java.lang.String groupName,
                                     int size)
        Create a new ruleflow group log event.
        Parameters:
        type - The type of event. This can only be RULEFLOW_GROUP_ACTIVATED or RULEFLOW_GROUP_DEACTIVATED.
        groupName - The name of the ruleflow group
        size - The size of the ruleflow group
    • 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
      • getGroupName

        public java.lang.String getGroupName()
      • getSize

        public int getSize()
      • toString

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