Examples of PseudElementDescription


Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

     * 空要素を追加する。
     * @param name 追加する要素の名前
     * @return 追加した要素
     */
    public FlowElement defineEmpty(String name) {
        return register(name, new PseudElementDescription(
                name,
                TYPE,
                false,
                true,
                FlowBoundary.STAGE));
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

     * 停止要素を追加する。
     * @param name 追加する要素の名前
     * @return 追加した要素
     */
    public FlowElement defineStop(String name) {
        return register(name, new PseudElementDescription(
                name,
                TYPE,
                true,
                false,
                FlowBoundary.STAGE));
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

     * @return 追加した要素
     */
    public FlowElement definePseud(
            String name,
            FlowElementAttribute... attributes) {
        return register(name, new PseudElementDescription(
                name,
                TYPE,
                true,
                true,
                attributes));
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

     * @param output 停止演算子を接続するポート
     * @throws IllegalArgumentException 引数に{@code null}が指定された場合
     */
    public static void stop(FlowElementOutput output) {
        Precondition.checkMustNotBeNull(output, "output"); //$NON-NLS-1$
        FlowElementDescription desc = new PseudElementDescription(
                "implicit-stop",
                output.getDescription().getDataType(),
                true,
                false,
                FlowBoundary.STAGE);
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

        Collection<FlowElementOutput> upstreams = input.disconnectAll();
        Collection<FlowElementInput> downstreams = output.disconnectAll();
        for (FlowElementOutput upstream : upstreams) {
            for (FlowElementInput downstream : downstreams) {
                if (attributes.length >= 1) {
                    FlowElementDescription desc = new PseudElementDescription(
                            "bypass",
                            output.getDescription().getDataType(),
                            true,
                            true,
                            attributes);
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

        assert name != null;
        assert attributes != null;

        Collection<FlowElementInput> originalDownstreams = output.disconnectAll();

        FlowElementDescription desc = new PseudElementDescription(
                name,
                output.getDescription().getDataType(),
                true,
                true,
                attributes);
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

     */
    public void stop(Source<?> in) {
        if (in == null) {
            throw new IllegalArgumentException("in must not be null"); //$NON-NLS-1$
        }
        PseudElementDescription desc = new PseudElementDescription(
                STOP_NAME,
                getPortType(in),
                true,
                false,
                FlowBoundary.STAGE);
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

        private final FlowElementResolver resolver;

        Empty(Type type) {
            assert type != null;
            this.out = this;
            PseudElementDescription desc = new PseudElementDescription(
                    EMPTY_NAME,
                    type,
                    false,
                    true,
                    FlowBoundary.STAGE);
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

        Confluent(Type type, List<Source<T>> input) {
            assert type != null;
            assert input != null;
            this.out = this;
            PseudElementDescription desc = new PseudElementDescription(
                    CONFLUENT_NAME,
                    type,
                    true,
                    true);
            resolver = new FlowElementResolver(desc);
View Full Code Here

Examples of com.asakusafw.vocabulary.flow.util.PseudElementDescription

        Checkpoint(Type type, Source<T> in) {
            assert type != null;
            assert in != null;
            this.out = this;
            PseudElementDescription desc = new PseudElementDescription(
                    CHECKPOINT_NAME,
                    type,
                    true,
                    true,
                    FlowBoundary.STAGE);
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.