Search in sources :

Example 1 with EndForEachComponent

use of org.apache.airavata.workflow.model.component.system.EndForEachComponent in project airavata by apache.

the class EndForEachNode method addInputPort.

/**
 * Adds additional input port.
 */
public void addInputPort() {
    EndForEachComponent component = getComponent();
    ComponentDataPort input = component.getInputPort();
    DataPort port = input.createPort();
    addInputPort(port);
}
Also used : DataPort(org.apache.airavata.workflow.model.graph.DataPort) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort) EndForEachComponent(org.apache.airavata.workflow.model.component.system.EndForEachComponent) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort)

Example 2 with EndForEachComponent

use of org.apache.airavata.workflow.model.component.system.EndForEachComponent in project airavata by apache.

the class EndForEachNode method getComponent.

/**
 * @see org.apache.airavata.workflow.model.graph.impl.NodeImpl#getComponent()
 */
@Override
public EndForEachComponent getComponent() {
    EndForEachComponent component = (EndForEachComponent) super.getComponent();
    if (component == null) {
        // The component is null when read from the graph XML.
        component = new EndForEachComponent();
        setComponent(component);
    }
    return component;
}
Also used : EndForEachComponent(org.apache.airavata.workflow.model.component.system.EndForEachComponent)

Example 3 with EndForEachComponent

use of org.apache.airavata.workflow.model.component.system.EndForEachComponent in project airavata by apache.

the class EndForEachNode method addOutputPort.

/**
 * Adds additional output port.
 */
public void addOutputPort() {
    EndForEachComponent component = getComponent();
    ComponentDataPort outputPort = component.getOutputPort();
    DataPort port = outputPort.createPort();
    addOutputPort(port);
}
Also used : DataPort(org.apache.airavata.workflow.model.graph.DataPort) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort) EndForEachComponent(org.apache.airavata.workflow.model.component.system.EndForEachComponent) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort)

Aggregations

EndForEachComponent (org.apache.airavata.workflow.model.component.system.EndForEachComponent)3 ComponentDataPort (org.apache.airavata.workflow.model.component.ComponentDataPort)2 DataPort (org.apache.airavata.workflow.model.graph.DataPort)2