Package com.asakusafw.vocabulary.flow.graph

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


                        desc.getClass().getName());
                valid = false;
            }
        }
        for (FlowOut<?> port : graph.getFlowOutputs()) {
            OutputDescription desc = port.getDescription();
            ExternalIoDescriptionProcessor processor = externals.findProcessor(desc);
            if (processor != null) {
                outputs.add(Tuples.of(desc, processor));
            } else {
                valid = false;
View Full Code Here


        if (outputs.containsKey(name)) {
            throw new IllegalStateException(MessageFormat.format(
                    "出力の名前が重複しています ({0})",
                    name));
        }
        FlowOut<T> out = new FlowOut<T>(new OutputDescription(name, exporter));
        outputs.put(name, out);
        ports.add(out);
        return out;
    }
View Full Code Here

     * 出力要素を追加する。
     * @param name 追加する要素の名前
     * @return 追加した要素
     */
    public FlowElement defineOutput(String name) {
        OutputDescription desc = new OutputDescription(name, TYPE);
        FlowOut<?> node = new FlowOut<Object>(desc);
        flowOutputs.add(node);
        return register(name, node.getFlowElement());
    }
View Full Code Here

            FlowElementDescription desc = element.getDescription();
            if (desc.getKind() != FlowElementKind.OUTPUT) {
                error("{0}は出力を表現していません", desc);
                continue;
            }
            OutputDescription description = (OutputDescription) desc;
            ExternalIoDescriptionProcessor proc = environment.getExternals().findProcessor(description);
            if (proc == null) {
                error("{0}は不明なエクスポーターを利用しています", desc);
                continue;
            }
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.OutputDescription

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.