Package org.fireflow.kernel

Examples of org.fireflow.kernel.INodeInstance.fire()


        INodeInstance nodeInst = this.getLeavingNodeInstance(); //获取到流向哪个节点
        token.setValue(this.getWeight());//获取到弧线上的权值
        boolean alive = token.isAlive();

        nodeInst.fire(token);//节点触发

        return alive;
    }

    public Transition getTransition() {
View Full Code Here


        }else{//否则流转到下一个节点

            INodeInstance nodeInst = this.getLeavingNodeInstance();

            token.setValue(this.getWeight());
            nodeInst.fire(token);//触发同步器节点
            return newAlive;
        }
    }

    public Loop getLoop() {
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.