org.drools.audit.event
Class RuleFlowGroupLogEvent
java.lang.Object
org.drools.audit.event.LogEvent
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.
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, 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 |
RuleFlowGroupLogEvent
public RuleFlowGroupLogEvent(int type,
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 groupsize
- The size of the ruleflow group
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Overrides:
readExternal
in class LogEvent
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Overrides:
writeExternal
in class LogEvent
- Throws:
IOException
getGroupName
public String getGroupName()
getSize
public int getSize()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.