Package org.drools.audit.event

Examples of org.drools.audit.event.RuleFlowNodeLogEvent


            case LogEvent.AFTER_RULEFLOW_COMPLETED:
              processEvent = (RuleFlowLogEvent) logEvent;
                updateProcessLog(processEvent.getProcessInstanceId());
                break;
            case LogEvent.BEFORE_RULEFLOW_NODE_TRIGGERED:
              RuleFlowNodeLogEvent nodeEvent = (RuleFlowNodeLogEvent) logEvent;
              addNodeEnterLog(nodeEvent.getProcessInstanceId(), nodeEvent.getProcessId(), nodeEvent.getNodeInstanceId(), nodeEvent.getNodeId(), nodeEvent.getNodeName());
                break;
            case LogEvent.BEFORE_RULEFLOW_NODE_EXITED:
              nodeEvent = (RuleFlowNodeLogEvent) logEvent;
              addNodeExitLog(nodeEvent.getProcessInstanceId(), nodeEvent.getProcessId(), nodeEvent.getNodeInstanceId(), nodeEvent.getNodeId(), nodeEvent.getNodeName());
                break;
            case LogEvent.AFTER_VARIABLE_INSTANCE_CHANGED:
              RuleFlowVariableLogEvent variableEvent = (RuleFlowVariableLogEvent) logEvent;
              addVariableLog(variableEvent.getProcessInstanceId(), variableEvent.getProcessId(), variableEvent.getVariableInstanceId(), variableEvent.getVariableId(), variableEvent.getObjectToString());
                break;
View Full Code Here


            case LogEvent.AFTER_RULEFLOW_COMPLETED:
              processEvent = (RuleFlowLogEvent) logEvent;
                updateProcessLog(processEvent.getProcessInstanceId());
                break;
            case LogEvent.BEFORE_RULEFLOW_NODE_TRIGGERED:
              RuleFlowNodeLogEvent nodeEvent = (RuleFlowNodeLogEvent) logEvent;
              addNodeEnterLog(nodeEvent.getProcessInstanceId(), nodeEvent.getProcessId(), nodeEvent.getNodeInstanceId(), nodeEvent.getNodeId(), nodeEvent.getNodeName());
                break;
            case LogEvent.BEFORE_RULEFLOW_NODE_EXITED:
              nodeEvent = (RuleFlowNodeLogEvent) logEvent;
              addNodeExitLog(nodeEvent.getProcessInstanceId(), nodeEvent.getProcessId(), nodeEvent.getNodeInstanceId(), nodeEvent.getNodeId(), nodeEvent.getNodeName());
                break;
            default:
                // ignore all other events
        }
    }
View Full Code Here

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

    public void beforeNodeTriggered(ProcessNodeTriggeredEvent event) {
        filterLogEvent(new RuleFlowNodeLogEvent(LogEvent.BEFORE_RULEFLOW_NODE_TRIGGERED,
                createNodeId(event.getNodeInstance()),
                event.getNodeInstance().getNodeName(),
                createNodeInstanceId(event.getNodeInstance()),
                event.getProcessInstance().getProcessId(),
                event.getProcessInstance().getProcessName(),
View Full Code Here

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

    public void afterNodeTriggered(ProcessNodeTriggeredEvent event) {
        filterLogEvent(new RuleFlowNodeLogEvent(LogEvent.AFTER_RULEFLOW_NODE_TRIGGERED,
                createNodeId(event.getNodeInstance()),
                event.getNodeInstance().getNodeName(),
                createNodeInstanceId(event.getNodeInstance()),
                event.getProcessInstance().getProcessId(),
                event.getProcessInstance().getProcessName(),
View Full Code Here

        }
        return nodeInstanceId;
    }

    public void beforeNodeLeft(ProcessNodeLeftEvent event) {
        filterLogEvent(new RuleFlowNodeLogEvent(LogEvent.BEFORE_RULEFLOW_NODE_EXITED,
            createNodeId(event.getNodeInstance()),
            event.getNodeInstance().getNodeName(),
            createNodeInstanceId(event.getNodeInstance()),
            event.getProcessInstance().getProcessId(),
            event.getProcessInstance().getProcessName(),
View Full Code Here

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

    public void afterNodeLeft(ProcessNodeLeftEvent event) {
        filterLogEvent(new RuleFlowNodeLogEvent(LogEvent.AFTER_RULEFLOW_NODE_EXITED,
            createNodeId(event.getNodeInstance()),
            event.getNodeInstance().getNodeName(),
            createNodeInstanceId(event.getNodeInstance()),
            event.getProcessInstance().getProcessId(),
            event.getProcessInstance().getProcessName(),
View Full Code Here

                event.getRuleFlowGroup().size()));
    }

    public void beforeRuleFlowNodeTriggered(RuleFlowNodeTriggeredEvent event,
                                            WorkingMemory workingMemory) {
        filterLogEvent(new RuleFlowNodeLogEvent(LogEvent.BEFORE_RULEFLOW_NODE_TRIGGERED,
                createNodeId(event.getRuleFlowNodeInstance()),
                event.getRuleFlowNodeInstance().getNodeName(),
                createNodeInstanceId(event.getRuleFlowNodeInstance()),
                event.getProcessInstance().getProcessId(),
                event.getProcessInstance().getProcessName(),
View Full Code Here

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

    public void afterRuleFlowNodeTriggered(RuleFlowNodeTriggeredEvent event,
                                           WorkingMemory workingMemory) {
        filterLogEvent(new RuleFlowNodeLogEvent(LogEvent.AFTER_RULEFLOW_NODE_TRIGGERED,
                createNodeId(event.getRuleFlowNodeInstance()),
                event.getRuleFlowNodeInstance().getNodeName(),
                createNodeInstanceId(event.getRuleFlowNodeInstance()),
                event.getProcessInstance().getProcessId(),
                event.getProcessInstance().getProcessName(),
View Full Code Here

      return nodeInstanceId;
    }

    public void beforeRuleFlowNodeLeft(RuleFlowNodeTriggeredEvent event,
                        WorkingMemory workingMemory) {
        filterLogEvent(new RuleFlowNodeLogEvent(LogEvent.BEFORE_RULEFLOW_NODE_EXITED,
            createNodeId(event.getRuleFlowNodeInstance()),
            event.getRuleFlowNodeInstance().getNodeName(),
            createNodeInstanceId(event.getRuleFlowNodeInstance()),
            event.getProcessInstance().getProcessId(),
            event.getProcessInstance().getProcessName(),
View Full Code Here

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

    public void afterRuleFlowNodeLeft(RuleFlowNodeTriggeredEvent event,
                      WorkingMemory workingMemory) {
        filterLogEvent(new RuleFlowNodeLogEvent(LogEvent.AFTER_RULEFLOW_NODE_EXITED,
            createNodeId(event.getRuleFlowNodeInstance()),
            event.getRuleFlowNodeInstance().getNodeName(),
            createNodeInstanceId(event.getRuleFlowNodeInstance()),
            event.getProcessInstance().getProcessId(),
            event.getProcessInstance().getProcessName(),
View Full Code Here

TOP

Related Classes of org.drools.audit.event.RuleFlowNodeLogEvent

Copyright © 2018 www.massapicom. 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.