org.drools.audit.event
Class RuleFlowGroupLogEvent

java.lang.Object
  extended by org.drools.audit.event.LogEvent
      extended by org.drools.audit.event.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.

Author:
Kris Verlaenen

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
RuleFlowGroupLogEvent(int type, java.lang.String groupName, int size)
          Create a new ruleflow group log event.
 
Method Summary
 java.lang.String getGroupName()
           
 int getSize()
           
 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

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

getGroupName

public java.lang.String getGroupName()

getSize

public int getSize()

toString

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