Search in sources :

Example 1 with DoWhileComponent

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

the class DoWhileNode method addInputPort.

/**
 * Adds additional input port.
 */
public void addInputPort() {
    DoWhileComponent 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) DoWhileComponent(org.apache.airavata.workflow.model.component.system.DoWhileComponent) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort)

Example 2 with DoWhileComponent

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

the class DoWhileNode method getComponent.

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

Example 3 with DoWhileComponent

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

the class DoWhileNode method addInputPortAndReturn.

public DataPort addInputPortAndReturn() {
    DoWhileComponent component = getComponent();
    ComponentDataPort input = component.getInputPort();
    DataPort port = input.createPort();
    addInputPort(port);
    return port;
}
Also used : DataPort(org.apache.airavata.workflow.model.graph.DataPort) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort) DoWhileComponent(org.apache.airavata.workflow.model.component.system.DoWhileComponent) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort)

Example 4 with DoWhileComponent

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

the class DoWhileNode method addOutputPort.

/**
 * Adds additional output port.
 */
public void addOutputPort() {
    DoWhileComponent 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) DoWhileComponent(org.apache.airavata.workflow.model.component.system.DoWhileComponent) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort)

Aggregations

DoWhileComponent (org.apache.airavata.workflow.model.component.system.DoWhileComponent)4 ComponentDataPort (org.apache.airavata.workflow.model.component.ComponentDataPort)3 DataPort (org.apache.airavata.workflow.model.graph.DataPort)3