Package org.apache.airavata.workflow.model.component.system

Examples of org.apache.airavata.workflow.model.component.system.EndBlockComponent


    /**
     * @see org.apache.airavata.workflow.model.graph.impl.NodeImpl#getComponent()
     */
    @Override
    public EndBlockComponent getComponent() {
        EndBlockComponent component = (EndBlockComponent) super.getComponent();
        if (component == null) {
            // The component is null when read from the graph XML.
            component = new EndBlockComponent();
            setComponent(component);
        }
        return component;
    }
View Full Code Here


    /**
     * Adds additional input port.
     */
    public void addInputPort() {
        EndBlockComponent component = getComponent();
        ComponentDataPort input = component.getInputPort();
        DataPort port = input.createPort();
        addInputPort(port);
    }
View Full Code Here

    /**
     * Adds additional output port.
     */
    public void addOutputPort() {
        EndBlockComponent component = getComponent();
        ComponentDataPort outputPort = component.getOutputPort();
        DataPort port = outputPort.createPort();
        addOutputPort(port);
    }
View Full Code Here

        this.componentMap.put(ForEachComponent.NAME, new ForEachComponent());
        this.componentMap.put(EndForEachComponent.NAME, new EndForEachComponent());
        this.componentMap.put(DoWhileComponent.NAME, new DoWhileComponent());
        this.componentMap.put(EndDoWhileComponent.NAME, new EndDoWhileComponent());
        this.componentMap.put(BlockComponent.NAME, new BlockComponent());
        this.componentMap.put(EndBlockComponent.NAME, new EndBlockComponent());
        this.componentMap.put(DynamicComponent.NAME, new DynamicComponent());
        this.componentMap.put(StreamSourceComponent.NAME, new StreamSourceComponent());
        this.componentMap.put(ExitComponent.NAME, new ExitComponent());
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.workflow.model.component.system.EndBlockComponent

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.