Package org.drools.ruleflow.instance

Examples of org.drools.ruleflow.instance.RuleFlowNodeInstance.cancel()


        super.setState(state);
        if (state == ProcessInstanceImpl.STATE_COMPLETED) {
            // deactivate all node instances of this process instance
            while (!nodeInstances.isEmpty()) {
              RuleFlowNodeInstance nodeInstance = (RuleFlowNodeInstance) nodeInstances.get(0);
              nodeInstance.cancel();
            }
            workingMemory.removeEventListener((AgendaEventListener) this);
            workingMemory.removeEventListener((RuleFlowEventListener) this);
          ((EventSupport) this.workingMemory).getRuleFlowEventSupport()
            .fireRuleFlowProcessCompleted(this, this.workingMemory);
View Full Code Here


        super.setState(state);
        if (state == ProcessInstanceImpl.STATE_COMPLETED) {
            // deactivate all node instances of this process instance
            while (!nodeInstances.isEmpty()) {
              RuleFlowNodeInstance nodeInstance = (RuleFlowNodeInstance) nodeInstances.get(0);
              nodeInstance.cancel();
            }
            workingMemory.removeEventListener((AgendaEventListener) this);
            workingMemory.removeEventListener((RuleFlowEventListener) this);
          ((EventSupport) this.workingMemory).getRuleFlowEventSupport()
            .fireRuleFlowProcessCompleted(this, this.workingMemory);
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.