break;
case LogEvent.AFTER_RULEFLOW_NODE_TRIGGERED:
beforeEvents.pop();
break;
case LogEvent.BEFORE_RULEFLOW_GROUP_ACTIVATED:
RuleFlowGroupLogEvent inRuleFlowGroupEvent = (RuleFlowGroupLogEvent) inEvent;
event.setString("RuleFlow Group activated: " + inRuleFlowGroupEvent.getGroupName() + "[size=" + inRuleFlowGroupEvent.getSize() + "]");
if (!beforeEvents.isEmpty()) {
((Event) beforeEvents.peek()).addSubEvent(event);
} else {
events.add(event);
}
beforeEvents.push(event);
break;
case LogEvent.AFTER_RULEFLOW_GROUP_ACTIVATED:
beforeEvents.pop();
break;
case LogEvent.BEFORE_RULEFLOW_GROUP_DEACTIVATED:
inRuleFlowGroupEvent = (RuleFlowGroupLogEvent) inEvent;
event.setString("RuleFlow Group deactivated: " + inRuleFlowGroupEvent.getGroupName() + "[size=" + inRuleFlowGroupEvent.getSize() + "]");
if (!beforeEvents.isEmpty()) {
((Event) beforeEvents.peek()).addSubEvent(event);
} else {
events.add(event);
}