Package com.asakusafw.vocabulary.flow.graph

Examples of com.asakusafw.vocabulary.flow.graph.FlowElementResolver


            builder0.addOutput("high", Ex1.class);
            builder0.addOutput("low", Ex1.class);
            builder0.addOutput("stop", Ex1.class);
            builder0.addParameter("parameter", int.class, parameter);
            builder0.addAttribute(FlowBoundary.SHUFFLE);
            FlowElementResolver resolver0 = builder0.toResolver();
            resolver0.resolveInput("master", master);
            resolver0.resolveInput("model", model);
            this.high = resolver0.resolveOutput("high");
            this.low = resolver0.resolveOutput("low");
            this.stop = resolver0.resolveOutput("stop");
        }
View Full Code Here


            builder1.addOutput("high", Ex1.class);
            builder1.addOutput("low", Ex1.class);
            builder1.addOutput("stop", Ex1.class);
            builder1.addAttribute(new OperatorHelper("selector", Arrays.asList(new Class<?>[]{List.class, Ex1.class})));
            builder1.addAttribute(FlowBoundary.SHUFFLE);
            FlowElementResolver resolver1 = builder1.toResolver();
            resolver1.resolveInput("master", master);
            resolver1.resolveInput("model", model);
            this.high = resolver1.resolveOutput("high");
            this.low = resolver1.resolveOutput("low");
            this.stop = resolver1.resolveOutput("stop");
        }
View Full Code Here

            builder2.addOutput("low", Ex1.class);
            builder2.addOutput("stop", Ex1.class);
            builder2.addParameter("parameter", int.class, parameter);
            builder2.addAttribute(new OperatorHelper("selector", Arrays.asList(new Class<?>[]{List.class, Ex1.class})));
            builder2.addAttribute(FlowBoundary.SHUFFLE);
            FlowElementResolver resolver2 = builder2.toResolver();
            resolver2.resolveInput("master", master);
            resolver2.resolveInput("model", model);
            this.high = resolver2.resolveOutput("high");
            this.low = resolver2.resolveOutput("low");
            this.stop = resolver2.resolveOutput("stop");
        }
View Full Code Here

            builder3.addOutput("stop", Ex1.class);
            builder3.addParameter("parameter", int.class, parameter);
            builder3.addAttribute(new OperatorHelper("selectorWithParameter", Arrays.asList(new Class<?>[]{List.class,
                        Ex1.class, int.class})));
            builder3.addAttribute(FlowBoundary.SHUFFLE);
            FlowElementResolver resolver3 = builder3.toResolver();
            resolver3.resolveInput("master", master);
            resolver3.resolveInput("model", model);
            this.high = resolver3.resolveOutput("high");
            this.low = resolver3.resolveOutput("low");
            this.stop = resolver3.resolveOutput("stop");
        }
View Full Code Here

     * @param type 入力の型
     * @param name 入力の名前
     */
    public MockIn(Class<T> type, String name) {
        InputDescription desc = new InputDescription(name, type);
        resolver = new FlowElementResolver(desc);
    }
View Full Code Here

     * @param type 出力の型
     * @param name 出力の名前
     */
    public MockOut(Class<T> type, String name) {
        OutputDescription desc = new OutputDescription(name, type);
        resolver = new FlowElementResolver(desc);
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.vocabulary.flow.graph.FlowElementResolver

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.