Examples of RuleFlowLogEvent


Examples of org.drools.core.audit.event.RuleFlowLogEvent

                event.getProcessInstance().getProcessName(),
                event.getProcessInstance().getId()) );
    }

    public void afterProcessStarted(ProcessStartedEvent event) {
        filterLogEvent(new RuleFlowLogEvent(LogEvent.AFTER_RULEFLOW_CREATED,
                event.getProcessInstance().getProcessId(),
                event.getProcessInstance().getProcessName(),
                event.getProcessInstance().getId()) );
    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                event.getProcessInstance().getProcessName(),
                event.getProcessInstance().getId()) );
    }

    public void beforeProcessCompleted(ProcessCompletedEvent event) {
        filterLogEvent( new RuleFlowLogEvent( LogEvent.BEFORE_RULEFLOW_COMPLETED,
                event.getProcessInstance().getProcessId(),
                event.getProcessInstance().getProcessName(),
                event.getProcessInstance().getId()) );
    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                event.getProcessInstance().getProcessName(),
                event.getProcessInstance().getId()) );
    }
   
    public void afterProcessCompleted(ProcessCompletedEvent event) {
        filterLogEvent(new RuleFlowLogEvent(LogEvent.AFTER_RULEFLOW_COMPLETED,
                event.getProcessInstance().getProcessId(),
                event.getProcessInstance().getProcessName(),
                event.getProcessInstance().getId()) );
    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                    break;
                case LogEvent.AFTER_ACTIVATION_FIRE:
                    beforeEvents.pop();
                    break;
                case LogEvent.BEFORE_RULEFLOW_CREATED:
                    RuleFlowLogEvent inRuleFlowEvent = (RuleFlowLogEvent) inEvent;
                    event.setString("Process started: " + inRuleFlowEvent.getProcessName() + "[" + inRuleFlowEvent.getProcessId() + "]");
                    if (!beforeEvents.isEmpty()) {
                        ((Event) beforeEvents.peek()).addSubEvent(event);
                    } else {
                        events.add(event);
                    }
                    beforeEvents.push(event);
                    break;
                case LogEvent.AFTER_RULEFLOW_CREATED:
                    beforeEvents.pop();
                    break;
                case LogEvent.BEFORE_RULEFLOW_COMPLETED:
                    inRuleFlowEvent = (RuleFlowLogEvent) inEvent;
                    event.setString("Process completed: " + inRuleFlowEvent.getProcessName() + "[" + inRuleFlowEvent.getProcessId() + "]");
                    if (!beforeEvents.isEmpty()) {
                        ((Event) beforeEvents.peek()).addSubEvent(event);
                    } else {
                        events.add(event);
                    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                    break;
                case LogEvent.AFTER_ACTIVATION_FIRE:
                    currentBeforeActivationEvent = null;
                    break;
                case 8:
                    RuleFlowLogEvent inRuleFlowEvent = (RuleFlowLogEvent) inEvent;
                    event.setString("RuleFlow started: " + inRuleFlowEvent.getProcessName() + "[" + inRuleFlowEvent.getProcessId() + "]");
                    if (currentBeforeActivationEvent != null) {
                        currentBeforeActivationEvent.addSubEvent(event);
                    } else {
                        events.add(event);
                    }
                    break;
                case 9:
                    inRuleFlowEvent = (RuleFlowLogEvent) inEvent;
                    event.setString("RuleFlow completed: " + inRuleFlowEvent.getProcessName() + "[" + inRuleFlowEvent.getProcessId() + "]");
                    if (currentBeforeActivationEvent != null) {
                        currentBeforeActivationEvent.addSubEvent(event);
                    } else {
                        events.add(event);
                    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                    break;
                case LogEvent.AFTER_ACTIVATION_FIRE:
                    beforeEvents.pop();
                    break;
                case LogEvent.BEFORE_RULEFLOW_CREATED:
                    RuleFlowLogEvent ruleFlowEvent = (RuleFlowLogEvent) logEvent;
                    event.setString("Process started: " + ruleFlowEvent.getProcessName() + "[" + ruleFlowEvent.getProcessId() + "]");
                    if (!beforeEvents.isEmpty()) {
                        beforeEvents.peek().addSubEvent(event);
                    } else {
                        events.add(event);
                    }
                    beforeEvents.push(event);
                    break;
                case LogEvent.AFTER_RULEFLOW_CREATED:
                    beforeEvents.pop();
                    break;
                case LogEvent.BEFORE_RULEFLOW_COMPLETED:
                  ruleFlowEvent = (RuleFlowLogEvent) logEvent;
                    event.setString("Process completed: " + ruleFlowEvent.getProcessName() + "[" + ruleFlowEvent.getProcessId() + "]");
                    if (!beforeEvents.isEmpty()) {
                        beforeEvents.peek().addSubEvent(event);
                    } else {
                        events.add(event);
                    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                    break;
                case LogEvent.AFTER_ACTIVATION_FIRE:
                    beforeEvents.pop();
                    break;
                case LogEvent.BEFORE_RULEFLOW_CREATED:
                    RuleFlowLogEvent ruleFlowEvent = (RuleFlowLogEvent) logEvent;
                    event.setString("Process started: " + ruleFlowEvent.getProcessName() + "[" + ruleFlowEvent.getProcessId() + "]");
                    if (!beforeEvents.isEmpty()) {
                        beforeEvents.peek().addSubEvent(event);
                    } else {
                        events.add(event);
                    }
                    beforeEvents.push(event);
                    break;
                case LogEvent.AFTER_RULEFLOW_CREATED:
                    beforeEvents.pop();
                    break;
                case LogEvent.BEFORE_RULEFLOW_COMPLETED:
                  ruleFlowEvent = (RuleFlowLogEvent) logEvent;
                    event.setString("Process completed: " + ruleFlowEvent.getProcessName() + "[" + ruleFlowEvent.getProcessId() + "]");
                    if (!beforeEvents.isEmpty()) {
                        beforeEvents.peek().addSubEvent(event);
                    } else {
                        events.add(event);
                    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                    break;
                case LogEvent.AFTER_ACTIVATION_FIRE:
                    beforeEvents.pop();
                    break;
                case LogEvent.BEFORE_RULEFLOW_CREATED:
                    RuleFlowLogEvent inRuleFlowEvent = (RuleFlowLogEvent) inEvent;
                    event.setString("Process started: " + inRuleFlowEvent.getProcessName() + "[" + inRuleFlowEvent.getProcessId() + "]");
                    if (!beforeEvents.isEmpty()) {
                        beforeEvents.peek().addSubEvent(event);
                    } else {
                        events.add(event);
                    }
                    beforeEvents.push(event);
                    break;
                case LogEvent.AFTER_RULEFLOW_CREATED:
                    beforeEvents.pop();
                    break;
                case LogEvent.BEFORE_RULEFLOW_COMPLETED:
                    inRuleFlowEvent = (RuleFlowLogEvent) inEvent;
                    event.setString("Process completed: " + inRuleFlowEvent.getProcessName() + "[" + inRuleFlowEvent.getProcessId() + "]");
                    if (!beforeEvents.isEmpty()) {
                        beforeEvents.peek().addSubEvent(event);
                    } else {
                        events.add(event);
                    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                    break;
                case LogEvent.AFTER_ACTIVATION_FIRE:
                    currentBeforeActivationEvent = null;
                    break;
                case 8:
                    RuleFlowLogEvent inRuleFlowEvent = (RuleFlowLogEvent) inEvent;
                    event.setString("RuleFlow started: " + inRuleFlowEvent.getProcessName() + "[" + inRuleFlowEvent.getProcessId() + "]");
                    if (currentBeforeActivationEvent != null) {
                        currentBeforeActivationEvent.addSubEvent(event);
                    } else {
                        events.add(event);
                    }
                    break;
                case 9:
                    inRuleFlowEvent = (RuleFlowLogEvent) inEvent;
                    event.setString("RuleFlow completed: " + inRuleFlowEvent.getProcessName() + "[" + inRuleFlowEvent.getProcessId() + "]");
                    if (currentBeforeActivationEvent != null) {
                        currentBeforeActivationEvent.addSubEvent(event);
                    } else {
                        events.add(event);
                    }
View Full Code Here

Examples of org.drools.core.audit.event.RuleFlowLogEvent

                event.getRuleFlowGroup().getName(),
                ((org.drools.core.spi.RuleFlowGroup)event.getRuleFlowGroup()).size()));
    }
   
    public void beforeProcessStarted(ProcessStartedEvent event) {
        filterLogEvent( new RuleFlowLogEvent( LogEvent.BEFORE_RULEFLOW_CREATED,
                event.getProcessInstance().getProcessId(),
                event.getProcessInstance().getProcessName(),
                event.getProcessInstance().getId()) );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.