Package com.asakusafw.vocabulary.flow.graph

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


        }

        List<Tuple2<Enum<?>, FlowElementPortDescription>> results = Lists.create();
        for (Enum<?> constant : constants) {
            String name = JavaName.of(constant.name()).toMemberName();
            FlowElementPortDescription port = portNames.get(name);
            if (port == null) {
                throw new IllegalStateException(MessageFormat.format(
                        "Cannot extract {0} (in {1})",
                        constant.name(),
                        portNames));
View Full Code Here


        assert portName != null;
        assert direction != null;
        if (doCreate == false) {
            return Collections.emptyList();
        } else {
            return Collections.singletonList(new FlowElementPortDescription(
                    portName,
                    portType,
                    direction));
        }
    }
View Full Code Here

            return t(getInputTypeAsReflect());
        }

        private java.lang.reflect.Type getInputTypeAsReflect() {
            FlowElementInput port = unit.getInputs().get(0).getElementPort();
            FlowElementPortDescription input = port.getDescription();
            return input.getDataType();
        }
View Full Code Here

TOP

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

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.